mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Use getInterval() instead of getOrCreateInterval().
llvm-svn: 175731
This commit is contained in:
parent
b39f6eaf73
commit
b5e706c80e
@ -319,7 +319,7 @@ void PHIElimination::LowerPHINode(MachineBasicBlock &MBB,
|
||||
IncomingVNI));
|
||||
}
|
||||
|
||||
LiveInterval &DestLI = LIS->getOrCreateInterval(DestReg);
|
||||
LiveInterval &DestLI = LIS->getInterval(DestReg);
|
||||
if (NewInstr->getOperand(0).isDead()) {
|
||||
// A dead PHI's live range begins and ends at the start of the MBB, but
|
||||
// the lowered copy, which will still be dead, needs to begin and end at
|
||||
|
Loading…
Reference in New Issue
Block a user