[PATCH] D47872: [AArch64] Clean up LSE directive tests

Bernard Ogden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 02:41:02 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL335585: [AArch64] Clean up LSE directive tests (authored by bogden, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D47872?vs=152257&id=152860#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D47872

Files:
  llvm/trunk/test/MC/AArch64/directive-arch.s
  llvm/trunk/test/MC/AArch64/directive-cpu.s


Index: llvm/trunk/test/MC/AArch64/directive-arch.s
===================================================================
--- llvm/trunk/test/MC/AArch64/directive-arch.s
+++ llvm/trunk/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]
Index: llvm/trunk/test/MC/AArch64/directive-cpu.s
===================================================================
--- llvm/trunk/test/MC/AArch64/directive-cpu.s
+++ llvm/trunk/test/MC/AArch64/directive-cpu.s
@@ -36,10 +36,10 @@
 
 	aesd v0.16b, v2.16b
 
-	.cpu generic+v8.1a+nolse
+	.cpu generic+nolse
         casa  w5, w7, [x20]
 
-	.cpu generic+v8.1a+lse
+	.cpu generic+lse
         casa  w5, w7, [x20]
 
 // NOTE: the errors precede the actual output!  The errors appear in order


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47872.152860.patch
Type: text/x-patch
Size: 1098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180626/3a495a87/attachment.bin>


More information about the llvm-commits mailing list