Kill info update bug.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 29 Nov 2007 01:05:47 +0000 (01:05 +0000)
committerEvan 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

index 5b855aa19383d499be09d71d0599ed5c2e9947b1..934cb7beb9b35c07429544cd6384b4375ca3a52f 100644 (file)
@@ -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 {