[llvm-commits] [llvm] r135112 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td

Jim Grosbach grosbach at apple.com
Wed Jul 13 17:10:26 PDT 2011


Author: grosbach
Date: Wed Jul 13 19:10:26 2011
New Revision: 135112

URL: http://llvm.org/viewvc/llvm-project?rev=135112&view=rev
Log:
DMB instalias needs the same predicate as the instruction.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrInfo.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=135112&r1=135111&r2=135112&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Wed Jul 13 19:10:26 2011
@@ -3304,7 +3304,7 @@
 }
 }
 
-def : InstAlias<"dmb", (DMB 0xf)>;
+def : InstAlias<"dmb", (DMB 0xf)>, Requires<[IsARM, HasDB]>;
 
 def DSB : AInoP<(outs), (ins memb_opt:$opt), MiscFrm, NoItinerary,
                 "dsb", "\t$opt", []>,





More information about the llvm-commits mailing list