mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Mark merged-in VNInfo's as being PHIKilled.
llvm-svn: 56893
This commit is contained in:
parent
b89aa47081
commit
9c1e298f14
@ -977,6 +977,11 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
|
||||
}
|
||||
}
|
||||
|
||||
LiveInterval& Int = LI.getOrCreateInterval(I->first);
|
||||
const LiveRange* LR =
|
||||
Int.getLiveRangeContaining(LI.getMBBEndIdx(SI->second));
|
||||
LR->valno->hasPHIKill = true;
|
||||
|
||||
I->second.erase(SI->first);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user