forked from OSchip/llvm-project
Mark merged-in VNInfo's as being PHIKilled.
llvm-svn: 56893
This commit is contained in:
parent
e8450fefdd
commit
15e6be8cc5
|
@ -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