diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-09-20 01:10:02 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-09-20 01:10:02 +0000 |
commit | 453280b94d9bc47c61bb7f6fb11092ea3a7ea4df (patch) | |
tree | b5c46d1f8f369cc92baf1c5c1cf9cd6a47258c73 /llvm/lib | |
parent | 9de003670f11e004776ac5474cf1d0bb87d23112 (diff) | |
download | bcm5719-llvm-453280b94d9bc47c61bb7f6fb11092ea3a7ea4df.tar.gz bcm5719-llvm-453280b94d9bc47c61bb7f6fb11092ea3a7ea4df.zip |
80 col.
llvm-svn: 30504
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index e5f2d9294eb..2d7500e0b89 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -1608,7 +1608,8 @@ FoundSExt: 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); |