update obsolete comment.

llvm-svn: 123965
This commit is contained in:
Chris Lattner 2011-01-21 05:08:26 +00:00
parent 2d9860cbec
commit f4ca47bda8
1 changed files with 3 additions and 4 deletions

View File

@ -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();