summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s')
-rw-r--r--llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s b/llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s
index 7b64621635d..7bd408e9e10 100644
--- a/llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s
+++ b/llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s
@@ -59,10 +59,10 @@ ld2d { z0.d, z1.d }, p0/z, [x0, w0, uxtw]
// --------------------------------------------------------------------------//
-// error: restricted predicate has range [0, 7].
+// error: invalid restricted predicate register, expected p0..p7 (without element suffix)
ld2d {z2.d, z3.d}, p8/z, [x15, #10, MUL VL]
-// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: restricted predicate has range [0, 7].
+// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix)
// CHECK-NEXT: ld2d {z2.d, z3.d}, p8/z, [x15, #10, MUL VL]
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
OpenPOWER on IntegriCloud