diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-16 00:13:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-16 00:13:30 +0000 |
commit | 37e3a1393131d1be3f73357c1316701a3eeea2af (patch) | |
tree | 1b8301d3e62963f3b5253dcb92b8e3558f2157b0 /llvm/lib/CodeGen/SplitKit.cpp | |
parent | f9ae68af8519dede1641d1593b3b0a7c6d9e17ae (diff) | |
download | bcm5719-llvm-37e3a1393131d1be3f73357c1316701a3eeea2af.tar.gz bcm5719-llvm-37e3a1393131d1be3f73357c1316701a3eeea2af.zip |
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.
llvm-svn: 135329
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index d875f18754e..b0806a573fc 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/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"); |