[llvm-commits] [llvm] r98285 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Johnny Chen
johnny.chen at apple.com
Thu Mar 11 13:02:50 PST 2010
Author: johnny
Date: Thu Mar 11 15:02:50 2010
New Revision: 98285
URL: http://llvm.org/viewvc/llvm-project?rev=98285&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=98285&r1=98284&r2=98285&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Thu Mar 11 15:02:50 2010
@@ -2159,7 +2159,7 @@
// 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_SyncBarrierV7 : AInoP<(outs), (ins),
- Pseudo, NoItinerary,
+ ThumbFrm, NoItinerary,
"dsb", "",
[(ARMSyncBarrierV7)]>,
Requires<[IsThumb2]> {
More information about the llvm-commits
mailing list