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-NEXT: successors: %bb.1(0x80000000)
14 ; CHECK-NEXT: S_ENDPGM 0
28 name: setpc_with_successors
29 tracksRegLiveness: true
31 ; CHECK-LABEL: name: setpc_with_successors
33 ; CHECK-NEXT: successors: %bb.1(0x80000000)
34 ; CHECK-NEXT: liveins: $sgpr30_sgpr31
36 ; CHECK-NEXT: S_SETPC_B64 $sgpr30_sgpr31
41 liveins: $sgpr30_sgpr31
43 S_SETPC_B64 $sgpr30_sgpr31