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:
547a391
)
Fix a bug in live-in detection that caused lost-copy problems to show up.
author
Owen Anderson
<resistor@mac.com>
Sun, 12 Oct 2008 20:39:30 +0000
(20:39 +0000)
committer
Owen Anderson
<resistor@mac.com>
Sun, 12 Oct 2008 20:39:30 +0000
(20:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57424
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/StrongPHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/StrongPHIElimination.cpp
b/lib/CodeGen/StrongPHIElimination.cpp
index d8d2a2316a37379344f5ad7d97b737741de4c87e..5d7bc23694bf9100f033c606e0b892690ba79bf6 100644
(file)
--- a/
lib/CodeGen/StrongPHIElimination.cpp
+++ b/
lib/CodeGen/StrongPHIElimination.cpp
@@
-295,7
+295,7
@@
static bool isLiveIn(unsigned r, MachineBasicBlock* MBB,
LiveIntervals& LI) {
LiveInterval& I = LI.getOrCreateInterval(r);
unsigned idx = LI.getMBBStartIdx(MBB);
- return I.live
BeforeAnd
At(idx);
+ return I.liveAt(idx);
}
/// isLiveOut - help method that determines, from a regno, if a register is