projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4857402
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175731
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PHIElimination.cpp
b/lib/CodeGen/PHIElimination.cpp
index 61122fcbc1ee8f5c72f099b9ad8c1b2092a95c19..b84d9d33398a32db416df8d7cecf85f94ac592c2 100644
(file)
--- a/
lib/CodeGen/PHIElimination.cpp
+++ b/
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