Use the correct variable names so that the encodings will be correct.
authorBill Wendling <isanbard@gmail.com>
Tue, 16 Nov 2010 23:44:49 +0000 (23:44 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 16 Nov 2010 23:44:49 +0000 (23:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119403 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td

index 2c4d723caeea7d3414b8c8dfd0980e7bf00bf634..c06208e6ba4e5955d49eaaf4659cf8fa918f73e7 100644 (file)
@@ -1870,9 +1870,9 @@ def : MnemonicAlias<"stm", "stmia">;
 let isReturn = 1, isTerminator = 1, isBarrier = 1, mayLoad = 1,
     hasExtraDefRegAllocReq = 1, isCodeGenOnly = 1 in
 def LDMIA_RET : AXI4<(outs GPR:$wb), (ins GPR:$Rn, pred:$p,
-                                      reglist:$dsts, variable_ops),
+                                      reglist:$regs, variable_ops),
                      IndexModeUpd, LdStMulFrm, IIC_iLoad_mBr,
-                     "ldmia${p}\t$Rn!, $dsts",
+                     "ldmia${p}\t$Rn!, $regs",
                      "$Rn = $wb", []> {
   let Inst{24-23} = 0b01;       // Increment After
   let Inst{21}    = 1;          // Writeback
index 03a6b4f30968d07ea1c822264ab426fc80f5a1d5..6582e96bb805c58076f0af1c901395098d6b025b 100644 (file)
@@ -2760,9 +2760,9 @@ let Defs =
 let isReturn = 1, isTerminator = 1, isBarrier = 1, mayLoad = 1,
     hasExtraDefRegAllocReq = 1, isCodeGenOnly = 1 in
 def t2LDMIA_RET: T2XIt<(outs GPR:$wb), (ins GPR:$Rn, pred:$p,
-                                        reglist:$dsts, variable_ops),
+                                        reglist:$regs, variable_ops),
                         IIC_iLoad_mBr,
-                        "ldmia${p}.w\t$Rn!, $dsts",
+                        "ldmia${p}.w\t$Rn!, $regs",
                         "$Rn = $wb", []> {
   bits<4>  Rn;
   bits<16> regs;