aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-13 20:56:34 +0000
committerChris Lattner <sabre@nondot.org>2004-05-13 20:56:34 +0000
commitfa28bb46017920ef2d123dcb979c47efb1b021b5 (patch)
tree16e724c69d4533c585a41c61d2d47a06c9f94465 /lib/Transforms
parent82fec4e31da93f17cf95b1bf3f8a0e6d933b4f73 (diff)
This was not meant to be committed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 7ef1b56047..67b99c56e7 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -1475,13 +1475,6 @@ Instruction *InstCombiner::visitSetCondInst(BinaryOperator &I) {
// integers at the end of their ranges...
//
if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) {
- if (Instruction *LHSI = dyn_cast<Instruction>(Op0))
- if (LHSI->getOpcode() == Instruction::Div && LHSI->hasOneUse() &&
- isa<ConstantInt>(LHSI->getOperand(1))) {
- std::cerr << "COULD FOLD: " << *LHSI;
- std::cerr << "COULD FOLD: " << I << "\n";
- }
-
// Simplify seteq and setne instructions...
if (I.getOpcode() == Instruction::SetEQ ||
I.getOpcode() == Instruction::SetNE) {