[llvm-commits] [llvm] r135329 - /llvm/trunk/lib/CodeGen/SplitKit.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jul 15 17:13:30 PDT 2011


Author: stoklund
Date: Fri Jul 15 19:13:30 2011
New Revision: 135329

URL: http://llvm.org/viewvc/llvm-project?rev=135329&view=rev
Log:
He said *before* the last split point.

This should unbreak the build-self-4-mingw32 tester. I have a very
complicated test case that I will try to clean up.

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

Modified: llvm/trunk/lib/CodeGen/SplitKit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SplitKit.cpp?rev=135329&r1=135328&r2=135329&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SplitKit.cpp (original)
+++ llvm/trunk/lib/CodeGen/SplitKit.cpp Fri Jul 15 19:13:30 2011
@@ -1280,7 +1280,7 @@
     } else {
       DEBUG(dbgs() << ", spill before last split point.\n");
       selectIntv(IntvIn);
-      SlotIndex Idx = leaveIntvAfter(LSP);
+      SlotIndex Idx = leaveIntvBefore(LSP);
       overlapIntv(Idx, BI.LastUse);
       useIntv(Start, Idx);
       assert((!LeaveBefore || Idx <= LeaveBefore) && "Interference");





More information about the llvm-commits mailing list