[llvm-commits] [SignlessTypes] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Reid Spencer
reid at x10sys.com
Sat Oct 21 19:04:45 PDT 2006
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.520.2.5 -> 1.520.2.6
---
Log message:
Back out a patch that wasn't correct.
---
Diffs of the changes: (+1 -2)
InstructionCombining.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.520.2.5 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.520.2.6
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.520.2.5 Sat Oct 21 20:36:52 2006
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Sat Oct 21 21:04:31 2006
@@ -1978,8 +1978,7 @@
}
// 0 - (X sdiv C) -> (X sdiv -C)
- if (Op1I->getOpcode() == Instruction::SDiv ||
- Op1I->getOpcode() == Instruction::UDiv)
+ if (Op1I->getOpcode() == Instruction::SDiv)
if (ConstantInt *CSI = dyn_cast<ConstantInt>(Op0))
if (CSI->isNullValue() && CSI->getType()->isSigned())
if (Constant *DivRHS = dyn_cast<Constant>(Op1I->getOperand(1)))
More information about the llvm-commits
mailing list