From 9d60ba9d28c21145515878294b07c91622435632 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 19 May 2008 20:03:53 +0000 Subject: [PATCH] remove debug output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51264 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 3b341247688..62185c63d9b 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); - } } } -- 2.34.1