[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / SVE / cntp-diagnostics.s
blob9c4173f50dee0193eff34676d313edc4d9578c0f
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
3 cntp sp
4 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand
5 // CHECK-NEXT: cntp sp
6 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
9 // ------------------------------------------------------------------------- //
10 // Invalid predicate operand
12 cntp x0, p15, p0
13 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
14 // CHECK-NEXT: cntp x0, p15, p0
15 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
17 cntp x0, p15.b, p0.b
18 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
19 // CHECK-NEXT: cntp x0, p15.b, p0.b
20 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
22 cntp x0, p15.q, p0.b
23 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
24 // CHECK-NEXT: cntp x0, p15.q, p0.b
25 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: