mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 18:28:29 +00:00
Mark merged-in VNInfo's as being PHIKilled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
309c6162c6
commit
05472ee54b
@ -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