diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-01-21 05:08:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-01-21 05:08:26 +0000 |
| commit | f4ca47bda828b5349e6d345f7a180248ee7547bd (patch) | |
| tree | ec1fbf118d86dc1c25b94aaa3a657e1fbd373e3c | |
| parent | 2d9860cbec68dad97c018a3ac150962bbdd6fb77 (diff) | |
| download | bcm5719-llvm-f4ca47bda828b5349e6d345f7a180248ee7547bd.tar.gz bcm5719-llvm-f4ca47bda828b5349e6d345f7a180248ee7547bd.zip | |
update obsolete comment.
llvm-svn: 123965
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 7 |
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(); |

