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 | 7df4ad9a7fb41aba389a0cfb21a9965e10bbbf4b (patch) | |
tree | a81aa9a1571e6d2ddfa5f6b0996ca03dbaf5ce10 | |
parent | d46bd604ed0613debf35a36d9f7f0418079b0b89 (diff) |
80 col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30504 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index e5f2d9294e..2d7500e0b8 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/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); |