[llvm-commits] [llvm] r44427 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp

Evan Cheng evan.cheng at apple.com
Wed Nov 28 17:05:50 PST 2007


Author: evancheng
Date: Wed Nov 28 19:05:47 2007
New Revision: 44427

URL: http://llvm.org/viewvc/llvm-project?rev=44427&view=rev
Log:
Kill info update bug.

Modified:
    llvm/trunk/lib/CodeGen/LiveInterval.cpp

Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveInterval.cpp?rev=44427&r1=44426&r2=44427&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/LiveInterval.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveInterval.cpp Wed Nov 28 19:05:47 2007
@@ -206,6 +206,9 @@
         // 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 {





More information about the llvm-commits mailing list