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 | 147f7799c567554377f0b4e8d62e386ead7103c1 (patch) | |
| tree | 9ae74128f48d4c65ca1e9d0fd73bc6c4131eead1 /llvm/lib/CodeGen | |
| parent | 2501c8294f7171a06b24d943df94f7029f642a4a (diff) | |
| download | bcm5719-llvm-147f7799c567554377f0b4e8d62e386ead7103c1.tar.gz bcm5719-llvm-147f7799c567554377f0b4e8d62e386ead7103c1.zip | |
Kill info update bug.
llvm-svn: 44427
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 5b855aa1938..934cb7beb9b 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/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 { | 

