aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-14 00:10:26 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-14 00:10:26 +0000
commit77f379e2a100e2fe778145cc3f28c6837adee33e (patch)
treeeb5efcd95be2d7d66d41db0b07a8288a0ec4b03d
parent0f16a4eecc14a0455d0b9dd55742b1c4ebaa1575 (diff)
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
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index c4afe4043a..a90e8ca52b 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -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", []>,