summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-21 05:08:26 +0000
committerChris Lattner <sabre@nondot.org>2011-01-21 05:08:26 +0000
commitf4ca47bda828b5349e6d345f7a180248ee7547bd (patch)
treeec1fbf118d86dc1c25b94aaa3a657e1fbd373e3c /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent2d9860cbec68dad97c018a3ac150962bbdd6fb77 (diff)
downloadbcm5719-llvm-f4ca47bda828b5349e6d345f7a180248ee7547bd.tar.gz
bcm5719-llvm-f4ca47bda828b5349e6d345f7a180248ee7547bd.zip
update obsolete comment.
llvm-svn: 123965
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 2e908e73f93..06fbaad3e48 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -532,10 +532,9 @@ Instruction *InstCombiner::FoldOpIntoPhi(Instruction &I) {
if (NumPHIValues == 0)
return 0;
- // We normally only transform phis with a single use, unless we're trying
- // hard to make jump threading happen. However, if a PHI has multiple uses
- // and they are all the same operation, we can fold *all* of the uses into the
- // PHI.
+ // We normally only transform phis with a single use. However, if a PHI has
+ // multiple uses and they are all the same operation, we can fold *all* of the
+ // uses into the PHI.
if (!PN->hasOneUse()) {
// Walk the use list for the instruction, comparing them to I.
for (Value::use_iterator UI = PN->use_begin(), E = PN->use_end();
OpenPOWER on IntegriCloud