test
authorMichael Ilseman <milseman@apple.com>
Thu, 30 Aug 2012 15:45:16 +0000 (15:45 +0000)
committerMichael Ilseman <milseman@apple.com>
Thu, 30 Aug 2012 15:45:16 +0000 (15:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162914 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/SimplifyCFG.cpp

index dddc18fcefab486132754f9ef39fc1fc85e7479b..04cc11dea04db3ccfbcd0ad19ee4b0c455daa0c0 100644 (file)
@@ -766,8 +766,8 @@ static ConstantInt* GetWeight(Instruction* I, int Pos) {
   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));