diff options
author | Cameron Zwarich <zwarich@apple.com> | 2013-02-21 08:51:55 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2013-02-21 08:51:55 +0000 |
commit | a566d63b61f2a29e89696abba1729ac53b9843e6 (patch) | |
tree | 342f247791d1e4a3be233faba430a95ea655f23d | |
parent | 485740205bcaa9c348c1675f81e8d1673b7694aa (diff) |
Use getInterval() instead of getOrCreateInterval().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175731 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/PHIElimination.cpp | 2 |
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 |