1 // RUN
: not llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve
2>&1 < %s| FileCheck
%s
4 // ------------------------------------------------------------------------- //
5 // BRKN only supports merging predication
7 brkn p0.
b, p15
/m
, p1.
b, p0.
b
8 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand
9 // CHECK-NEXT
: brkn p0.
b, p15
/m
, p1.
b, p0.
b
10 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
13 // ------------------------------------------------------------------------- //
14 // Check tied operand constraints
16 brkn p0.
b, p15
/z
, p1.
b, p1.
b
17 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: operand must match destination register
18 // CHECK-NEXT
: brkn p0.
b, p15
/z
, p1.
b, p1.
b
19 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
22 // ------------------------------------------------------------------------- //
23 // Only
.b is supported
25 brkn p15.s
, p15
/z
, p15.s
, p15.s
26 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: invalid predicate register
27 // CHECK-NEXT
: brkn p15.s
, p15
/z
, p15.s
, p15.s
28 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}: