Fix typo in comment.
authorDiego Novillo <dnovillo@google.com>
Fri, 24 Apr 2015 15:46:41 +0000 (15:46 +0000)
committerDiego Novillo <dnovillo@google.com>
Fri, 24 Apr 2015 15:46:41 +0000 (15:46 +0000)
llvm-svn: 235723

llvm/lib/Analysis/BranchProbabilityInfo.cpp

index 8799a71..036da5f 100644 (file)
@@ -191,7 +191,7 @@ bool BranchProbabilityInfo::calcMetadataWeights(BasicBlock *BB) {
     return false;
 
   // Build up the final weights that will be used in a temporary buffer, but
-  // don't add them until all weihts are present. Each weight value is clamped
+  // don't add them until all weights are present. Each weight value is clamped
   // to [1, getMaxWeightFor(BB)].
   uint32_t WeightLimit = getMaxWeightFor(BB);
   SmallVector<uint32_t, 2> Weights;