[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu May 13 15:56:01 PDT 2004


Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.202 -> 1.203

---
Log message:

This was not meant to be committed


---
Diffs of the changes:  (+0 -7)

Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.202 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.203
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.202	Thu May 13 15:43:31 2004
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Thu May 13 15:56:34 2004
@@ -1475,13 +1475,6 @@
   // 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) {





More information about the llvm-commits mailing list