diff options
Diffstat (limited to 'test/MC/AArch64/SVE/decp-diagnostics.s')
-rw-r--r-- | test/MC/AArch64/SVE/decp-diagnostics.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/AArch64/SVE/decp-diagnostics.s b/test/MC/AArch64/SVE/decp-diagnostics.s index 2c8cc4293319..b1e4c9144cca 100644 --- a/test/MC/AArch64/SVE/decp-diagnostics.s +++ b/test/MC/AArch64/SVE/decp-diagnostics.s @@ -36,3 +36,13 @@ decp x0, p0.q // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register // CHECK-NEXT: decp x0, p0.q // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + + +// --------------------------------------------------------------------------// +// Negative tests for instructions that are incompatible with movprfx + +movprfx z31.d, p7/z, z6.d +decp z31.d, p7 +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a predicated movprfx, suggest using unpredicated movprfx +// CHECK-NEXT: decp z31.d, p7 +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: |