DMB instalias needs the same predicate as the instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-07-14 00:10:26 +00:00
parent 0f16a4eecc
commit 77f379e2a1

View File

@ -3304,7 +3304,7 @@ def DMB : AInoP<(outs), (ins memb_opt:$opt), MiscFrm, NoItinerary,
}
}
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", []>,