Set the (Format)F filed of t2Int_MemBarrierV7 & t2Int_SyncBarrierV7 to ThumbFrm,
authorJohnny Chen <johnny.chen@apple.com>
Thu, 11 Mar 2010 21:02:50 +0000 (21:02 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Thu, 11 Mar 2010 21:02:50 +0000 (21:02 +0000)
instead of Pseudo, which helps Thumb decoder to recognize them as Thumb instr.

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

lib/Target/ARM/ARMInstrThumb2.td

index 8b9a42a0ba8a64d8efb20e5fb840e9185aeba71d..f4a74cb59aa87dcd78622dc3f17e6a853ae6e166 100644 (file)
@@ -2159,7 +2159,7 @@ def t2MOVCCror : T2I_movcc_sh<0b11, (outs GPR:$dst),
 // memory barriers protect the atomic sequences
 let hasSideEffects = 1 in {
 def t2Int_MemBarrierV7 : AInoP<(outs), (ins),
-                        Pseudo, NoItinerary,
+                        ThumbFrm, NoItinerary,
                         "dmb", "",
                         [(ARMMemBarrierV7)]>,
                         Requires<[IsThumb2]> {
@@ -2169,7 +2169,7 @@ def t2Int_MemBarrierV7 : AInoP<(outs), (ins),
 }
 
 def t2Int_SyncBarrierV7 : AInoP<(outs), (ins),
-                        Pseudo, NoItinerary,
+                        ThumbFrm, NoItinerary,
                         "dsb", "",
                         [(ARMSyncBarrierV7)]>,
                         Requires<[IsThumb2]> {