forked from OSchip/llvm-project
ARM fix typo in pre-indexed store lowering.
rdar://9915869 llvm-svn: 137148
This commit is contained in:
parent
c7afd84322
commit
5e80abbb5d
|
@ -5291,7 +5291,7 @@ ARMTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||||
}
|
}
|
||||||
case ARM::STRi_preidx:
|
case ARM::STRi_preidx:
|
||||||
case ARM::STRBi_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;
|
ARM::STR_PRE_IMM : ARM::STRB_PRE_IMM;
|
||||||
// Decode the offset.
|
// Decode the offset.
|
||||||
unsigned Offset = MI->getOperand(4).getImm();
|
unsigned Offset = MI->getOperand(4).getImm();
|
||||||
|
|
Loading…
Reference in New Issue