[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Evan Cheng
evan.cheng at apple.com
Tue Sep 19 18:10:16 PDT 2006
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.511 -> 1.512
---
Log message:
80 col.
---
Diffs of the changes: (+2 -1)
InstructionCombining.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.511 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.512
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.511 Tue Sep 19 13:24:51 2006
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue Sep 19 20:10:02 2006
@@ -1608,7 +1608,8 @@
const Type *SIntPtrTy = UIntPtrTy->getSignedVersion();
if((CI->getType() == UIntPtrTy || CI->getType() == SIntPtrTy)
&& isa<PointerType>(CI->getOperand(0)->getType())) {
- Instruction* I2 = new CastInst(CI->getOperand(0), PointerType::get(Type::SByteTy), "ctg", &I);
+ Instruction* I2 = new CastInst(CI->getOperand(0),
+ PointerType::get(Type::SByteTy), "ctg", &I);
WorkList.push_back(I2);
I2 = new GetElementPtrInst(I2, Other, "ctg", &I);
WorkList.push_back(I2);
More information about the llvm-commits
mailing list