diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-16 19:46:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-16 19:46:33 +0000 |
commit | 6e758aee74a500c62796313689530241a4957cf9 (patch) | |
tree | 162ec0142b78a88bc97e31e7dfba02ca6eabac34 /lib | |
parent | 061718cba87ed59ad60264eb43dd974b14c77ba4 (diff) | |
download | external_llvm-6e758aee74a500c62796313689530241a4957cf9.zip external_llvm-6e758aee74a500c62796313689530241a4957cf9.tar.gz external_llvm-6e758aee74a500c62796313689530241a4957cf9.tar.bz2 |
Kill the bogon that slipped into my buffer before I committed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index a874723..91aebc1 100644 --- 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 = ConstantUInt::getCast(C, TD->getIntPtrType()); + C = ConstantExpr::getCast(C, TD->getIntPtrType()); C = ConstantExpr::getCast(C, I->getType()); } } |