mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
Use getInterval() instead of getOrCreateInterval().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
485740205b
commit
a566d63b61
@ -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…
x
Reference in New Issue
Block a user