summaryrefslogtreecommitdiff
path: root/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2013-02-21 08:51:55 +0000
committerCameron Zwarich <zwarich@apple.com>2013-02-21 08:51:55 +0000
commita566d63b61f2a29e89696abba1729ac53b9843e6 (patch)
tree342f247791d1e4a3be233faba430a95ea655f23d /lib/CodeGen/PHIElimination.cpp
parent485740205bcaa9c348c1675f81e8d1673b7694aa (diff)
downloadllvm-a566d63b61f2a29e89696abba1729ac53b9843e6.tar.gz
llvm-a566d63b61f2a29e89696abba1729ac53b9843e6.tar.bz2
llvm-a566d63b61f2a29e89696abba1729ac53b9843e6.tar.xz
Use getInterval() instead of getOrCreateInterval().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r--lib/CodeGen/PHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp
index 61122fcbc1..b84d9d3339 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