mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
update obsolete comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
281f3901b7
commit
084fe6243a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user