Use getInterval() instead of getOrCreateInterval().

llvm-svn: 175731
This commit is contained in:
Cameron Zwarich 2013-02-21 08:51:55 +00:00
parent db2c7412e4
commit d113292bce
1 changed files with 1 additions and 1 deletions

View File

@ -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