diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-13 20:56:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-13 20:56:34 +0000 |
commit | 0026512bacb035a84171451116c76290b5a3b048 (patch) | |
tree | 1974399b5bab6dfbbd80104cc37ff0974bf6bdcd /llvm/lib/Transforms/Scalar/InstructionCombining.cpp | |
parent | c12c945cc46102f1b1bdba4a7cc6cbb044f5fc31 (diff) | |
download | bcm5719-llvm-0026512bacb035a84171451116c76290b5a3b048.tar.gz bcm5719-llvm-0026512bacb035a84171451116c76290b5a3b048.zip |
This was not meant to be committed
llvm-svn: 13565
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 7ef1b560477..67b99c56e7e 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/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) { |