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:
82fec4e
)
This was not meant to be committed
author
Chris Lattner
<sabre@nondot.org>
Thu, 13 May 2004 20:56:34 +0000
(20:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 13 May 2004 20:56:34 +0000
(20:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13565
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 7ef1b5604778f2ac12d71b88c2098a3ed1cae234..67b99c56e7e54d6aaf32b4488dd1e65771917ff0 100644
(file)
--- 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) {