[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / SVE / brkbs-diagnostics.s
blobbcb9a6464b1ec013d67c1c2a05b3d68e5045aefd
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
4 // ------------------------------------------------------------------------- //
5 // Only .b is supported
7 brkbs p0.s, p15/z, p15.s
8 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
9 // CHECK-NEXT: brkbs p0.s, p15/z, p15.s
10 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
13 // ------------------------------------------------------------------------- //
14 // flag-setting variant does not have merging predication
16 brkbs p0.b, p15/m, p15.b
17 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand
18 // CHECK-NEXT: brkbs p0.b, p15/m, p15.b
19 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: