remove debug output
authorChris Lattner <sabre@nondot.org>
Mon, 19 May 2008 20:03:53 +0000 (20:03 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 May 2008 20:03:53 +0000 (20:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51264 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp

index 3b341247688e5a3340daaa1ff10599025c891b04..62185c63d9b6e3a9afc2871a286b42d801372f82 100644 (file)
@@ -2516,10 +2516,8 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
       ComputeMaskedBits(RHS, Mask, RHSKnownZero, RHSKnownOne);
       
       // No bits in common -> bitwise or.
       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);
         return BinaryOperator::CreateOr(LHS, RHS);
-      }
     }
   }
 
     }
   }