diff options
Diffstat (limited to 'test/MC/AArch64/SVE/fcmlt-diagnostics.s')
-rw-r--r-- | test/MC/AArch64/SVE/fcmlt-diagnostics.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/AArch64/SVE/fcmlt-diagnostics.s b/test/MC/AArch64/SVE/fcmlt-diagnostics.s new file mode 100644 index 000000000000..1e13a3d2e03a --- /dev/null +++ b/test/MC/AArch64/SVE/fcmlt-diagnostics.s @@ -0,0 +1,11 @@ +// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s + +fcmlt p0.b, p0/z, z0.b, z0.b +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register +// CHECK-NEXT: fcmlt p0.b, p0/z, z0.b, z0.b +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + +fcmlt p0.s, p0/z, z0.s, #1.0 +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected floating-point constant #0.0 +// CHECK-NEXT: fcmlt p0.s, p0/z, z0.s, #1.0 +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: |