STRT and STRBT was incorrectly tagged as IndexModeNone during the refactorings (r119821).
authorJohnny Chen <johnny.chen@apple.com>
Thu, 24 Mar 2011 01:07:26 +0000 (01:07 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Thu, 24 Mar 2011 01:07:26 +0000 (01:07 +0000)
We now tag them as IndexModePost.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128189 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td
test/MC/Disassembler/ARM/arm-tests.txt

index d18c0ee1a5516f026c1d36abd0f9adba34a6b5cb..9d09a65da4110b072e8447aab5e72a28cd48a0b4 100644 (file)
@@ -1805,7 +1805,7 @@ def STRD_POST: AI3stdpo<(outs GPR:$base_wb),
 
 def STRT : AI2stridx<0, 0, (outs GPR:$Rn_wb),
                     (ins GPR:$Rt, GPR:$Rn,am2offset:$offset),
-                    IndexModeNone, StFrm, IIC_iStore_ru,
+                    IndexModePost, StFrm, IIC_iStore_ru,
                     "strt", "\t$Rt, [$Rn], $offset", "$Rn = $Rn_wb",
                     [/* For disassembly only; pattern left blank */]> {
   let Inst{21} = 1; // overwrite
@@ -1813,7 +1813,7 @@ def STRT : AI2stridx<0, 0, (outs GPR:$Rn_wb),
 
 def STRBT : AI2stridx<1, 0, (outs GPR:$Rn_wb),
                      (ins GPR:$Rt, GPR:$Rn, am2offset:$offset),
-                     IndexModeNone, StFrm, IIC_iStore_bh_ru,
+                     IndexModePost, StFrm, IIC_iStore_bh_ru,
                      "strbt", "\t$Rt, [$Rn], $offset", "$Rn = $Rn_wb",
                      [/* For disassembly only; pattern left blank */]> {
   let Inst{21} = 1; // overwrite
index c4deed805e465e38fe6ffe217264105f006c9e88..eace5ab7bf47db36a4879b3406936ee076ad4991 100644 (file)
 
 # CHECK:       vldmdb  r2, {s7, s8, s9, s10, s11}
 0x05 0x3a 0x52 0xed
+
+# CHECK:       strtvc  r5, [r3], r0, lsr #20
+0x30 0x5a 0xa3 0x76