1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve  2>&1 < %s| FileCheck %s
2
3brkpas p15.b, p15/m, p15.b, p15.b
4// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
5// CHECK-NEXT: brkpas p15.b, p15/m, p15.b, p15.b
6// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
7
8brkpas p15.s, p15/z, p15.s, p15.s
9// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
10// CHECK-NEXT: brkpas p15.s, p15/z, p15.s, p15.s
11// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
12