summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/JumpThreading.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp
index f0468738d5..edb0412bfe 100644
--- a/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/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);
}