summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-09-20 01:10:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-09-20 01:10:02 +0000
commit453280b94d9bc47c61bb7f6fb11092ea3a7ea4df (patch)
treeb5c46d1f8f369cc92baf1c5c1cf9cd6a47258c73 /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent9de003670f11e004776ac5474cf1d0bb87d23112 (diff)
downloadbcm5719-llvm-453280b94d9bc47c61bb7f6fb11092ea3a7ea4df.tar.gz
bcm5719-llvm-453280b94d9bc47c61bb7f6fb11092ea3a7ea4df.zip
80 col.
llvm-svn: 30504
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp3
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);
OpenPOWER on IntegriCloud