From d113292bcebd1afaae42bed02e0d475eedc6d72b Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Thu, 21 Feb 2013 08:51:55 +0000 Subject: [PATCH] Use getInterval() instead of getOrCreateInterval(). llvm-svn: 175731 --- llvm/lib/CodeGen/PHIElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 61122fc..b84d9d33 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/lib/CodeGen/PHIElimination.cpp @@ -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 -- 2.7.4