diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-11-29 01:05:47 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-11-29 01:05:47 +0000 |
commit | c3868e04bf90d55f2599245ee7f3358d7b2a93ad (patch) | |
tree | 69c407c9ce1c8fa20be308610da1d424c1d4ff93 /lib/CodeGen/LiveInterval.cpp | |
parent | 22f26a75d26a329a1c36d16d4a687a876cf5875f (diff) |
Kill info update bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 5b855aa193..934cb7beb9 100644 --- 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 { |