mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-14 22:38:03 +00:00
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
This commit is contained in:
parent
061718cba8
commit
6e758aee74
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user