mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
80 col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d46bd604ed
commit
7df4ad9a7f
@ -1608,7 +1608,8 @@ FoundSExt:
|
||||
const Type *SIntPtrTy = UIntPtrTy->getSignedVersion();
|
||||
if((CI->getType() == UIntPtrTy || CI->getType() == SIntPtrTy)
|
||||
&& isa<PointerType>(CI->getOperand(0)->getType())) {
|
||||
Instruction* I2 = new CastInst(CI->getOperand(0), PointerType::get(Type::SByteTy), "ctg", &I);
|
||||
Instruction* I2 = new CastInst(CI->getOperand(0),
|
||||
PointerType::get(Type::SByteTy), "ctg", &I);
|
||||
WorkList.push_back(I2);
|
||||
I2 = new GetElementPtrInst(I2, Other, "ctg", &I);
|
||||
WorkList.push_back(I2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user