[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / return-with-successors.mir
blob00b1faca0e902ced6b34a2d9726c9b70273a49a3
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:   successors: %bb.1(0x80000000)
13   ; CHECK:   S_ENDPGM 0
14   ; CHECK: bb.1:
15   ; CHECK:   S_NOP 0
16   bb.0:
17     successors: %bb.1
18     S_ENDPGM 0
20   bb.1:
21     S_NOP 0
23 ...
25 ---
26 name: setpc_with_successors
27 tracksRegLiveness: true
28 body:             |
29   ; CHECK-LABEL: name: setpc_with_successors
30   ; CHECK: bb.0:
31   ; CHECK:   successors: %bb.1(0x80000000)
32   ; CHECK:   liveins: $sgpr30_sgpr31
33   ; CHECK:   S_SETPC_B64 $sgpr30_sgpr31
34   ; CHECK: bb.1:
35   ; CHECK:   S_NOP 0
36   bb.0:
37     liveins: $sgpr30_sgpr31
38     successors: %bb.1
39     S_SETPC_B64 $sgpr30_sgpr31
41   bb.1:
42     S_NOP 0
44 ...