summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-12 02:07:50 +0000
committerChris Lattner <sabre@nondot.org>2010-01-12 02:07:50 +0000
commitaf7855d571233b8651875c9f24d46c4b7df77bbc (patch)
treed1a71ca25a6689b5d9acfe01a48fd642e099f489 /llvm
parenteb73bdb2e1137a276c6e1310ceb8080695061880 (diff)
downloadbcm5719-llvm-af7855d571233b8651875c9f24d46c4b7df77bbc.tar.gz
bcm5719-llvm-af7855d571233b8651875c9f24d46c4b7df77bbc.zip
tidy up
llvm-svn: 93222
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index f0468738d58..edb0412bfe1 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -1175,11 +1175,7 @@ bool JumpThreading::ProcessBranchOnXOR(BinaryOperator *BO) {
}
// Try to duplicate BB into PredBB.
- if (DuplicateCondBranchOnPHIIntoPred(BB, BlocksToFoldInto)) {
-// errs() << "CLONE XOR COND: " << *BB << "Into PRED: " << *BlocksToFoldInto[0];
- return true;
- }
- return false;
+ return DuplicateCondBranchOnPHIIntoPred(BB, BlocksToFoldInto);
}
OpenPOWER on IntegriCloud