[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / armv9.5a-pauthlr-diagnostics.s
blobd06183be9da3e1dd50d18b84e70c5fc2907f5ac1
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+pauth-lr 2>&1 < %s | FileCheck %s
3 autiasppc #2
4 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
5 // CHECK-NEXT: autiasppc #2
6 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
8 autiasppc #1<<17
9 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
10 // CHECK-NEXT: autiasppc #1<<17
11 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
13 autiasppc #-2
14 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
15 // CHECK-NEXT: autiasppc #-2
16 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
18 autiasppc w0
19 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
20 // CHECK-NEXT: autiasppc w0
21 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
23 autiasppc sp
24 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
25 // CHECK-NEXT: autiasppc sp
26 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
28 retabsppc #2
29 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
30 // CHECK-NEXT: retabsppc #2
31 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
33 retabsppc #(1<<17)
34 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
35 // CHECK-NEXT: retabsppc #(1<<17)
36 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
38 retabsppc #-2
39 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
40 // CHECK-NEXT: retabsppc #-2
41 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
43 retaasppc w0
44 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
45 // CHECK-NEXT: retaasppc w0
46 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
48 retaasppc sp
49 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
50 // CHECK-NEXT: retaasppc sp
51 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}:
53 retaasppc xzr
54 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: expected label or encodable integer pc offset
55 // CHECK-NEXT: retaasppc xzr
56 // CHECK-NOT: [[@LINE-3]]:{{[0-9]+}}: