mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Kill the bogon that slipped into my buffer before I committed.
llvm-svn: 17067
This commit is contained in:
parent
b55574181d
commit
d12442c206
@ -4031,7 +4031,7 @@ bool InstCombiner::runOnFunction(Function &F) {
|
|||||||
uint64_t Offset = TD->getIndexedOffset(I->getOperand(0)->getType(),
|
uint64_t Offset = TD->getIndexedOffset(I->getOperand(0)->getType(),
|
||||||
std::vector<Value*>(I->op_begin()+1, I->op_end()));
|
std::vector<Value*>(I->op_begin()+1, I->op_end()));
|
||||||
C = ConstantUInt::get(Type::ULongTy, Offset);
|
C = ConstantUInt::get(Type::ULongTy, Offset);
|
||||||
C = ConstantUInt::getCast(C, TD->getIntPtrType());
|
C = ConstantExpr::getCast(C, TD->getIntPtrType());
|
||||||
C = ConstantExpr::getCast(C, I->getType());
|
C = ConstantExpr::getCast(C, I->getType());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user