1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Kill the bogon that slipped into my buffer before I committed.

llvm-svn: 17067
This commit is contained in:
Chris Lattner 2004-10-16 19:46:33 +00:00
parent b55574181d
commit d12442c206

View File

@ -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());
}
}