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.
7 name: endpgm_with_successors
8 tracksRegLiveness: true
10 ; CHECK-LABEL: name: endpgm_with_successors
12 ; CHECK: successors: %bb.1(0x80000000)
26 name: setpc_with_successors
27 tracksRegLiveness: true
29 ; CHECK-LABEL: name: setpc_with_successors
31 ; CHECK: successors: %bb.1(0x80000000)
32 ; CHECK: liveins: $sgpr30_sgpr31
33 ; CHECK: S_SETPC_B64 $sgpr30_sgpr31
37 liveins: $sgpr30_sgpr31
39 S_SETPC_B64 $sgpr30_sgpr31