[llvm] r235723 - Fix typo in comment.

Diego Novillo dnovillo at google.com
Fri Apr 24 08:46:41 PDT 2015


Author: dnovillo
Date: Fri Apr 24 10:46:41 2015
New Revision: 235723

URL: http://llvm.org/viewvc/llvm-project?rev=235723&view=rev
Log:
Fix typo in comment.

Modified:
    llvm/trunk/lib/Analysis/BranchProbabilityInfo.cpp

Modified: llvm/trunk/lib/Analysis/BranchProbabilityInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BranchProbabilityInfo.cpp?rev=235723&r1=235722&r2=235723&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BranchProbabilityInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/BranchProbabilityInfo.cpp Fri Apr 24 10:46:41 2015
@@ -191,7 +191,7 @@ bool BranchProbabilityInfo::calcMetadata
     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;





More information about the llvm-commits mailing list