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 # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 --passes='print<live-intervals>' -o - %s | FileCheck %s
4 # Test that getNoPreservedMask is implemented, which is called when
5 # return blocks have successors.
8 name: endpgm_with_successors
9 tracksRegLiveness: true
11 ; CHECK-LABEL: name: endpgm_with_successors
13 ; CHECK-NEXT: successors: %bb.1(0x80000000)
15 ; CHECK-NEXT: S_ENDPGM 0
29 name: setpc_with_successors
30 tracksRegLiveness: true
32 ; CHECK-LABEL: name: setpc_with_successors
34 ; CHECK-NEXT: successors: %bb.1(0x80000000)
35 ; CHECK-NEXT: liveins: $sgpr30_sgpr31
37 ; CHECK-NEXT: S_SETPC_B64 $sgpr30_sgpr31
42 liveins: $sgpr30_sgpr31
44 S_SETPC_B64 $sgpr30_sgpr31