diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-11-13 01:28:30 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-11-13 01:28:30 +0000 |
| commit | 1aa5863a3e679e6dcd5dde7531569275e174b7ed (patch) | |
| tree | fe03139696cc3d5c5df96882248651934df94eff /llvm/lib | |
| parent | 809c6fc93c29198ffb74dca743746131e2caf93c (diff) | |
| download | bcm5719-llvm-1aa5863a3e679e6dcd5dde7531569275e174b7ed.tar.gz bcm5719-llvm-1aa5863a3e679e6dcd5dde7531569275e174b7ed.zip | |
Swap multiclass operand order for consistency with other patterns.
llvm-svn: 118965
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 379ed912869..a0c7c9c5fc2 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -1546,7 +1546,7 @@ def LDRD : AI3ldd<(outs GPR:$dst1, GPR:$dst2), (ins addrmode3:$addr), LdMiscFrm, []>, Requires<[IsARM, HasV5TE]>; // Indexed loads -multiclass AI2_ldridx<bit isByte, InstrItinClass itin, string opc> { +multiclass AI2_ldridx<bit isByte, string opc, InstrItinClass itin> { def _PRE : AI2ldstidx<1, isByte, 1, (outs GPR:$Rt, GPR:$Rn_wb), (ins addrmode2:$addr), IndexModePre, LdFrm, itin, opc, "\t$Rt, $addr!", "$addr.base = $Rn_wb", []> { @@ -1558,8 +1558,8 @@ multiclass AI2_ldridx<bit isByte, InstrItinClass itin, string opc> { opc, "\t$Rt, [$Rn], $offset", "$Rn = $Rn_wb", []>; } -defm LDR : AI2_ldridx<0, IIC_iLoad_ru, "ldr">; -defm LDRB : AI2_ldridx<1, IIC_iLoad_bh_ru, "ldrb">; +defm LDR : AI2_ldridx<0, "ldr", IIC_iLoad_ru>; +defm LDRB : AI2_ldridx<1, "ldrb", IIC_iLoad_bh_ru>; def LDRH_PRE : AI3ldhpr<(outs GPR:$Rt, GPR:$Rn_wb), (ins addrmode3:$addr), LdMiscFrm, IIC_iLoad_bh_ru, |

