summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit56a20a492bf6f0c04169bd506c19d22bbcc94c3d (patch)
tree0eb3d92223a6e6daf5f24e1a9dd1adac54a9ff75 /llvm/lib
parenta9195bcff0aa8942a9d12eb3591a462d051c4749 (diff)
downloadbcm5719-llvm-56a20a492bf6f0c04169bd506c19d22bbcc94c3d.tar.gz
bcm5719-llvm-56a20a492bf6f0c04169bd506c19d22bbcc94c3d.zip
DMB instalias needs the same predicate as the instruction.
llvm-svn: 135112
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index c4afe4043a5..a90e8ca52b5 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/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", []>,
OpenPOWER on IntegriCloud