summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commitd113292bcebd1afaae42bed02e0d475eedc6d72b (patch)
tree3633024017116f7418428c8632b11edc5e731ba9 /llvm/lib/CodeGen
parentdb2c7412e40ff56b1c7455abed08bc16176c2f73 (diff)
downloadbcm5719-llvm-d113292bcebd1afaae42bed02e0d475eedc6d72b.tar.gz
bcm5719-llvm-d113292bcebd1afaae42bed02e0d475eedc6d72b.zip
Use getInterval() instead of getOrCreateInterval().
llvm-svn: 175731
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PHIElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp
index 61122fcbc1e..b84d9d33398 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
OpenPOWER on IntegriCloud