aboutsummaryrefslogtreecommitdiff
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
commit084fe6243a4e69ef8d032303fcad116fa6695386 (patch)
tree6bb0ad1a9b1d4703475bdb41d666730d3a5bdb93
parent281f3901b7b0869929caf8946c1ad1228bc38922 (diff)
update obsolete comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123965 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/InstCombine/InstructionCombining.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp
index 2e908e73f9..06fbaad3e4 100644
--- a/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/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();