projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46bd60
)
80 col.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 20 Sep 2006 01:10:02 +0000
(
01:10
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 20 Sep 2006 01:10:02 +0000
(
01:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30504
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index e5f2d9294eb442c21385df92281c41afe2217d6c..2d7500e0b892a5dccd99622e479f89e84b257ffa 100644
(file)
--- 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);