projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
061718c
)
Kill the bogon that slipped into my buffer before I committed.
author
Chris Lattner
<sabre@nondot.org>
Sat, 16 Oct 2004 19:46:33 +0000
(19:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 16 Oct 2004 19:46:33 +0000
(19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17067
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 a874723b5413e4c1ddc128c52d9c604a104224ee..91aebc1efdba52e0c81990461d612b1fad767055 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-4031,7
+4031,7
@@
bool InstCombiner::runOnFunction(Function &F) {
uint64_t Offset = TD->getIndexedOffset(I->getOperand(0)->getType(),
std::vector<Value*>(I->op_begin()+1, I->op_end()));
C = ConstantUInt::get(Type::ULongTy, Offset);
- C = Constant
UInt
::getCast(C, TD->getIntPtrType());
+ C = Constant
Expr
::getCast(C, TD->getIntPtrType());
C = ConstantExpr::getCast(C, I->getType());
}
}