From 6e70830af99b369babd0a8b05c7b2113e7d6223d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 19 May 2008 20:03:53 +0000 Subject: remove debug output llvm-svn: 51264 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp') diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 3b341247688..62185c63d9b 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/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); - } } } -- cgit v1.2.3