[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 23 15:48:01 PST 2004
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.162 -> 1.163
---
Log message:
Fix a small typeo in my checkin last night that broke vortex and other programs :(
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.162 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.163
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.162 Mon Feb 23 14:30:06 2004
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Mon Feb 23 15:46:42 2004
@@ -1398,7 +1398,7 @@
else if (I.getOpcode() == Instruction::SetGT &&
cast<ConstantSInt>(CI)->getValue() == -1)
// X > -1 => x < 128
- return BinaryOperator::create(Instruction::SetGT, CastOp,
+ return BinaryOperator::create(Instruction::SetLT, CastOp,
ConstantUInt::get(SrcTy, 1ULL << (SrcTySize*8-1)));
} else {
ConstantUInt *CUI = cast<ConstantUInt>(CI);
More information about the llvm-commits
mailing list