1 # RUN: llc -march=amdgcn -misched=converge -run-pass machine-scheduler %s -o - -debug-only=machine-scheduler 2>&1 | FileCheck %s
4 # Check there is no SReg_32 pressure created by DS_* instructions because of M0 use
6 # CHECK: ScheduleDAGMILive::schedule starting
7 # CHECK: SU({{.*}} = DS_READ_B32 {{.*}} implicit $m0, implicit $exec
8 # CHECK: Pressure Diff : {{$}}
9 # CHECK: SU({{.*}} DS_WRITE_B32
14 exposesReturnsTwice: false
16 regBankSelected: false
18 tracksRegLiveness: true
20 - { id: 0, class: sreg_128 }
21 - { id: 1, class: sgpr_64 }
22 - { id: 2, class: sreg_32_xm0 }
23 - { id: 3, class: sgpr_32 }
24 - { id: 4, class: vgpr_32 }
25 - { id: 5, class: sreg_32_xm0_xexec }
26 - { id: 6, class: vgpr_32 }
27 - { id: 7, class: vgpr_32 }
28 - { id: 8, class: vgpr_32 }
30 - { reg: '$sgpr4_sgpr5', virtual-reg: '%1' }
32 isFrameAddressTaken: false
33 isReturnAddressTaken: false
42 hasOpaqueSPAdjustment: false
44 hasMustTailInVarArgFunc: false
49 %1 = COPY $sgpr4_sgpr5
50 %5 = S_LOAD_DWORD_IMM %1, 0, 0, 0 :: (non-temporal dereferenceable invariant load 4 from `i32 addrspace(4)* undef`)
53 %6 = DS_READ_B32 %7, 0, 0, implicit $m0, implicit $exec
54 DS_WRITE_B32 %7, %6, 4, 0, implicit killed $m0, implicit $exec