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:
22f26a7
)
Kill info update bug.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 29 Nov 2007 01:05:47 +0000
(
01:05
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 29 Nov 2007 01:05:47 +0000
(
01:05
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44427
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveInterval.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveInterval.cpp
b/lib/CodeGen/LiveInterval.cpp
index 5b855aa19383d499be09d71d0599ed5c2e9947b1..934cb7beb9b35c07429544cd6384b4375ca3a52f 100644
(file)
--- a/
lib/CodeGen/LiveInterval.cpp
+++ b/
lib/CodeGen/LiveInterval.cpp
@@
-206,6
+206,9
@@
LiveInterval::addRangeFrom(LiveRange LR, iterator From) {
// endpoint as well.
if (End > it->end)
extendIntervalEndTo(it, End);
+ else
+ // Overlapping intervals, there might have been a kill here.
+ removeKill(it->valno, End);
return it;
}
} else {