summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-16 00:13:30 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-16 00:13:30 +0000
commitaf4e40c2f41a7d60b86958e034b00542d551b5f2 (patch)
tree5ec355a4f1976cfcfebd0dbe96fb3d9cb6f2cb61 /lib/CodeGen/SplitKit.cpp
parent7305c55a806e550020c0fd78239b587da222f600 (diff)
downloadllvm-af4e40c2f41a7d60b86958e034b00542d551b5f2.tar.gz
llvm-af4e40c2f41a7d60b86958e034b00542d551b5f2.tar.bz2
llvm-af4e40c2f41a7d60b86958e034b00542d551b5f2.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.cpp')
-rw-r--r--lib/CodeGen/SplitKit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp
index d875f18754..b0806a573f 100644
--- a/lib/CodeGen/SplitKit.cpp
+++ b/lib/CodeGen/SplitKit.cpp
@@ -1280,7 +1280,7 @@ void SplitEditor::splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
} 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");