[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / SVE / addpl-diagnostics.s
blobeb5a80aa4ea9ffcbbfc74408e533f72abc0fba66
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
3 // Immediate out of upper bound [-32, 31].
4 addpl x19, x14, #32
5 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].
6 // CHECK-NEXT: addpl x19, x14, #32
7 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
9 // addpl requires an immediate, not a register.
10 addpl x19, x14, x15
11 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].
12 // CHECK-NEXT: addpl x19, x14, x15
13 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: