summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorMichael Ilseman <milseman@apple.com>2012-08-30 15:45:16 +0000
committerMichael Ilseman <milseman@apple.com>2012-08-30 15:45:16 +0000
commit30c3e14e8efc0f3728ad30a2761ea015652c0ac5 (patch)
tree0f874c4dfe78dd8dabc249dd42a2ce086a69385e /llvm/lib/Transforms/Utils
parent17ce7117d0c263e8e5120676990659fd4d03880d (diff)
downloadbcm5719-llvm-30c3e14e8efc0f3728ad30a2761ea015652c0ac5.tar.gz
bcm5719-llvm-30c3e14e8efc0f3728ad30a2761ea015652c0ac5.zip
test
llvm-svn: 162914
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index dddc18fcefa..04cc11dea04 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/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<uint64_t> Weights) {
// Sum the successor's weights
assert(HasBranchWeights(STI));
OpenPOWER on IntegriCloud