mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
Handle Thumb-2 addressing modes during FP elimination.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
633eb95f3e
commit
8b98b85c64
@ -1120,6 +1120,19 @@ eliminateFrameIndex(MachineBasicBlock::iterator II,
|
||||
Scale = 4;
|
||||
break;
|
||||
}
|
||||
case ARMII::AddrModeT2_i12: {
|
||||
ImmIdx = i+2;
|
||||
InstrOffs = MI.getOperand(ImmIdx).getImm();
|
||||
NumBits = 12;
|
||||
break;
|
||||
}
|
||||
case ARMII::AddrModeT2_so:
|
||||
case ARMII::AddrModeT2_i8: {
|
||||
ImmIdx = i+2;
|
||||
InstrOffs = MI.getOperand(ImmIdx).getImm();
|
||||
NumBits = 8;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
LLVM_UNREACHABLE("Unsupported addressing mode!");
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user