[NFC] Include PassID for runBeforePass children.
[llvm-project.git] / llvm / test / MC / AArch64 / armv8r-unsupported-inst.s
blobf0ebf7f35a1bae0f3ebd0994de0df5baf3ac768b
1 // RUN: llvm-mc -triple aarch64 -mattr=+el3 -show-encoding < %s | FileCheck %s
2 // RUN: llvm-mc -triple aarch64 -mattr=+v8a -show-encoding < %s | FileCheck %s
3 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+v8r %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
5 // The immediate defaults to zero
6 // CHECK: dcps3 // encoding: [0x03,0x00,0xa0,0xd4]
7 dcps3
9 // CHECK: encoding: [0x83,0x00,0xa0,0xd4]
10 // CHECK: encoding: [0xe3,0x00,0x00,0xd4]
12 dcps3 #4
13 smc #7
15 // CHECK-ERROR: {{[0-9]+}}:{{[0-9]+}}: error: instruction requires: el3
16 // CHECK-ERROR-NEXT: dcps3
17 // CHECK-ERROR-NEXT: ^
18 // CHECK-ERROR-NEXT: {{[0-9]+}}:{{[0-9]+}}: error: instruction requires: el3
19 // CHECK-ERROR-NEXT: dcps3 #4
20 // CHECK-ERROR-NEXT: ^
21 // CHECK-ERROR-NEXT: {{[0-9]+}}:{{[0-9]+}}: error: instruction requires: el3
22 // CHECK-ERROR-NEXT: smc #7
23 // CHECK-ERROR-NEXT: ^