aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-19 20:03:53 +0000
committerChris Lattner <sabre@nondot.org>2008-05-19 20:03:53 +0000
commit9d60ba9d28c21145515878294b07c91622435632 (patch)
tree1b8ffb6e61c3d12d3fe064eb2bab9d764d78b8c6
parent5e0d71877c35030fd184ec2cbe0a0aaaa383cd71 (diff)
remove debug output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51264 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 3b34124768..62185c63d9 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -2516,10 +2516,8 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
ComputeMaskedBits(RHS, Mask, RHSKnownZero, RHSKnownOne);
// No bits in common -> bitwise or.
- if ((LHSKnownZero|RHSKnownZero).isAllOnesValue()) {
- cerr << "HACK\n" << *LHS << *RHS << "\n";
+ if ((LHSKnownZero|RHSKnownZero).isAllOnesValue())
return BinaryOperator::CreateOr(LHS, RHS);
- }
}
}