projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e0d718
)
remove debug output
author
Chris Lattner
<sabre@nondot.org>
Mon, 19 May 2008 20:03:53 +0000
(20:03 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 3b341247688e5a3340daaa1ff10599025c891b04..62185c63d9b6e3a9afc2871a286b42d801372f82 100644
(file)
--- 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);
- }
}
}