[PATCH] D47872: [AArch64] Clean up LSE directive tests
Bernard Ogden via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 04:16:03 PDT 2018
bogden created this revision.
bogden added a reviewer: compnerd.
Herald added a reviewer: javed.absar.
Herald added subscribers: llvm-commits, kristof.beyls.
These were specifying an architecture version with .cpu directive,
which is invalid. As the error for this case outputs the problem
instruction we were still matching the expectations of FileCheck.
This patch fixes up the LSE tests to do what they seem to intend. A
follow-up patch will tighten up the directive tests.
Repository:
rL LLVM
https://reviews.llvm.org/D47872
Files:
test/MC/AArch64/directive-arch.s
test/MC/AArch64/directive-cpu.s
Index: test/MC/AArch64/directive-cpu.s
===================================================================
--- test/MC/AArch64/directive-cpu.s
+++ 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
Index: test/MC/AArch64/directive-arch.s
===================================================================
--- test/MC/AArch64/directive-arch.s
+++ test/MC/AArch64/directive-arch.s
@@ -8,3 +8,6 @@
# CHECK: aesd v0.16b, v2.16b
# CHECK: eor v0.16b, v0.16b, v2.16b
+ .arch armv8.1-a+lse
+ casa w5, w7, [x20]
+# CHECK: casa w5, w7, [x20]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47872.150292.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180607/4cf9e14d/attachment-0001.bin>
More information about the llvm-commits
mailing list