[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / SVE / whilelo-diagnostics.s
blob6237a1182d013525ff1c01d09f2e3fab508c0a5b
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
4 // ------------------------------------------------------------------------- //
5 // Invalid scalar registers
7 whilelo p15.b, xzr, sp
8 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
9 // CHECK-NEXT: whilelo p15.b, xzr, sp
10 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
12 whilelo p15.b, xzr, w0
13 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
14 // CHECK-NEXT: whilelo p15.b, xzr, w0
15 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
17 whilelo p15.b, w0, x0
18 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
19 // CHECK-NEXT: whilelo p15.b, w0, x0
20 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: