• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve  2>&1 < %s| FileCheck %s
2
3
4// ------------------------------------------------------------------------- //
5// BRKN only supports merging predication
6
7brkn  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]+}}:
11
12
13// ------------------------------------------------------------------------- //
14// Check tied operand constraints
15
16brkn  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]+}}:
20
21
22// ------------------------------------------------------------------------- //
23// Only .b is supported
24
25brkn  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]+}}:
29