[llvm-commits] [llvm] r162914 - /llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Michael Ilseman milseman at apple.com
Thu Aug 30 08:45:16 PDT 2012


Author: milseman
Date: Thu Aug 30 10:45:16 2012
New Revision: 162914

URL: http://llvm.org/viewvc/llvm-project?rev=162914&view=rev
Log:
test

Modified:
    llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=162914&r1=162913&r2=162914&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Thu Aug 30 10:45:16 2012
@@ -766,8 +766,8 @@
   return 0;
 }
 
-/// Scale the given weights based on the new TI's metadata. Scaling is done by
-/// multiplying every weight by the sum of the successor's weights.
+/// Scale the given weights based on the successor TI's metadata. Scaling is
+/// done by multiplying every weight by the sum of the successor's weights.
 static void ScaleWeights(Instruction* STI, MutableArrayRef<uint64_t> Weights) {
   // Sum the successor's weights
   assert(HasBranchWeights(STI));





More information about the llvm-commits mailing list