summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-05 23:43:16 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-05 23:43:16 +0000
commit71d9e65ee71712b965c79739e63de94fbb8078ad (patch)
tree385c229ce470b425615aadf12d99ee12d4083d56 /lib
parentb3dd82670aa60cacba81f090d292722c3ef44354 (diff)
downloadllvm-71d9e65ee71712b965c79739e63de94fbb8078ad.tar.gz
llvm-71d9e65ee71712b965c79739e63de94fbb8078ad.tar.bz2
llvm-71d9e65ee71712b965c79739e63de94fbb8078ad.tar.xz
Sign error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-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 a3e065d1bd..238b5668ef 100644
--- a/lib/CodeGen/SplitKit.cpp
+++ b/lib/CodeGen/SplitKit.cpp
@@ -81,7 +81,7 @@ SlotIndex SplitAnalysis::computeLastSplitPoint(unsigned Num) {
// If CurLI is live into a landing pad successor, move the last split point
// back to the call that may throw.
- if (LPad && LSP.second.isValid() && !LIS.isLiveInToMBB(*CurLI, LPad))
+ if (LPad && LSP.second.isValid() && LIS.isLiveInToMBB(*CurLI, LPad))
return LSP.second;
else
return LSP.first;