projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db2c741
)
Use getInterval() instead of getOrCreateInterval().
author
Cameron Zwarich
<zwarich@apple.com>
Thu, 21 Feb 2013 08:51:55 +0000
(08:51 +0000)
committer
Cameron Zwarich
<zwarich@apple.com>
Thu, 21 Feb 2013 08:51:55 +0000
(08:51 +0000)
llvm-svn: 175731
llvm/lib/CodeGen/PHIElimination.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/PHIElimination.cpp
b/llvm/lib/CodeGen/PHIElimination.cpp
index
61122fc
..
b84d9d3
100644
(file)
--- 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->get
OrCreate
Interval(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