summaryrefslogtreecommitdiff
path: root/test/MC/AArch64/directive-arch.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AArch64/directive-arch.s')
-rw-r--r--test/MC/AArch64/directive-arch.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/AArch64/directive-arch.s b/test/MC/AArch64/directive-arch.s
index e32443876b60..7dfcdb4598f0 100644
--- a/test/MC/AArch64/directive-arch.s
+++ b/test/MC/AArch64/directive-arch.s
@@ -8,3 +8,12 @@
# CHECK: aesd v0.16b, v2.16b
# CHECK: eor v0.16b, v0.16b, v2.16b
+// PR32873: without extra features, '.arch' is currently ignored.
+// Add an unrelated feature to accept the directive.
+ .arch armv8.1-a+crypto
+ casa w5, w7, [x20]
+# CHECK: casa w5, w7, [x20]
+
+ .arch armv8-a+lse
+ casa w5, w7, [x20]
+# CHECK: casa w5, w7, [x20]