[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Oct 16 12:46:46 PDT 2004
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.269 -> 1.270
---
Log message:
Kill the bogon that slipped into my buffer before I committed.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.269 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.270
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.269 Sat Oct 16 14:44:59 2004
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Sat Oct 16 14:46:33 2004
@@ -4031,7 +4031,7 @@
uint64_t Offset = TD->getIndexedOffset(I->getOperand(0)->getType(),
std::vector<Value*>(I->op_begin()+1, I->op_end()));
C = ConstantUInt::get(Type::ULongTy, Offset);
- C = ConstantUInt::getCast(C, TD->getIntPtrType());
+ C = ConstantExpr::getCast(C, TD->getIntPtrType());
C = ConstantExpr::getCast(C, I->getType());
}
}
More information about the llvm-commits
mailing list