[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / SVE / revb-diagnostics.s
blobf03f3b4f4d0360cbc09142c8ba562c9c7c62af3a
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
4 // ------------------------------------------------------------------------- //
5 // Invalid predicate
7 revb z0.d, p8/m, z0.d
8 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix)
9 // CHECK-NEXT: revb z0.d, p8/m, z0.d
10 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
13 // ------------------------------------------------------------------------- //
14 // Invalid element size
16 revb z0.b, p0/m, z0.b
17 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
18 // CHECK-NEXT: revb z0.b, p0/m, z0.b
19 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: