From: Evan Cheng Date: Thu, 29 Nov 2007 01:05:47 +0000 (+0000) Subject: Kill info update bug. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c3868e04bf90d55f2599245ee7f3358d7b2a93ad;p=oota-llvm.git Kill info update bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44427 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 5b855aa1938..934cb7beb9b 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 {