From: Michael Ilseman Date: Thu, 30 Aug 2012 15:45:16 +0000 (+0000) Subject: test X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=749807852bd927dd225a360e9a388e0cc2792036;p=oota-llvm.git test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162914 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index dddc18fcefa..04cc11dea04 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -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 Weights) { // Sum the successor's weights assert(HasBranchWeights(STI));