mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
ARM fix typo in pre-indexed store lowering.
rdar://9915869 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137148 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6afbabb63
commit
6cd5716f61
@ -5291,7 +5291,7 @@ ARMTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||
}
|
||||
case ARM::STRi_preidx:
|
||||
case ARM::STRBi_preidx: {
|
||||
unsigned NewOpc = MI->getOpcode() == ARM::STRr_preidx ?
|
||||
unsigned NewOpc = MI->getOpcode() == ARM::STRi_preidx ?
|
||||
ARM::STR_PRE_IMM : ARM::STRB_PRE_IMM;
|
||||
// Decode the offset.
|
||||
unsigned Offset = MI->getOperand(4).getImm();
|
||||
|
Loading…
x
Reference in New Issue
Block a user