From: Johnny Chen Date: Thu, 11 Mar 2010 21:02:50 +0000 (+0000) Subject: Set the (Format)F filed of t2Int_MemBarrierV7 & t2Int_SyncBarrierV7 to ThumbFrm, X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c0b5dce3fa24202d842cdcd1eff9e02b33e22309;p=oota-llvm.git Set the (Format)F filed of t2Int_MemBarrierV7 & t2Int_SyncBarrierV7 to ThumbFrm, 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 --- diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 8b9a42a0ba8..f4a74cb59aa 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -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]> {