[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / return-with-successors.mir
blob29f084f87f06638088d605283089cd4d63408a54
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -verify-machineinstrs -run-pass=liveintervals -o - %s | FileCheck %s
3 # Test that getNoPreservedMask is implemented, which is called when
4 # return blocks have successors.
6 ---
7 name: endpgm_with_successors
8 tracksRegLiveness: true
9 body:             |
10   ; CHECK-LABEL: name: endpgm_with_successors
11   ; CHECK: bb.0:
12   ; CHECK-NEXT:   successors: %bb.1(0x80000000)
13   ; CHECK-NEXT: {{  $}}
14   ; CHECK-NEXT:   S_ENDPGM 0
15   ; CHECK-NEXT: {{  $}}
16   ; CHECK-NEXT: bb.1:
17   ; CHECK-NEXT:   S_NOP 0
18   bb.0:
19     successors: %bb.1
20     S_ENDPGM 0
22   bb.1:
23     S_NOP 0
25 ...
27 ---
28 name: setpc_with_successors
29 tracksRegLiveness: true
30 body:             |
31   ; CHECK-LABEL: name: setpc_with_successors
32   ; CHECK: bb.0:
33   ; CHECK-NEXT:   successors: %bb.1(0x80000000)
34   ; CHECK-NEXT:   liveins: $sgpr30_sgpr31
35   ; CHECK-NEXT: {{  $}}
36   ; CHECK-NEXT:   S_SETPC_B64 $sgpr30_sgpr31
37   ; CHECK-NEXT: {{  $}}
38   ; CHECK-NEXT: bb.1:
39   ; CHECK-NEXT:   S_NOP 0
40   bb.0:
41     liveins: $sgpr30_sgpr31
42     successors: %bb.1
43     S_SETPC_B64 $sgpr30_sgpr31
45   bb.1:
46     S_NOP 0
48 ...