From a566d63b61f2a29e89696abba1729ac53b9843e6 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(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175731 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/PHIElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp index 61122fcbc1e..b84d9d33398 100644 --- a/lib/CodeGen/PHIElimination.cpp +++ b/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.34.1