comparison llvm/test/CodeGen/AMDGPU/call-waw-waitcnt.mir @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children c4bab56944e8
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
23 liveins: $sgpr4_sgpr5, $sgpr7, $sgpr0_sgpr1_sgpr2_sgpr3 23 liveins: $sgpr4_sgpr5, $sgpr7, $sgpr0_sgpr1_sgpr2_sgpr3
24 24
25 ; GCN-LABEL: name: call_waw_waitcnt 25 ; GCN-LABEL: name: call_waw_waitcnt
26 ; GCN: liveins: $sgpr4_sgpr5, $sgpr7, $sgpr0_sgpr1_sgpr2_sgpr3 26 ; GCN: liveins: $sgpr4_sgpr5, $sgpr7, $sgpr0_sgpr1_sgpr2_sgpr3
27 ; GCN: S_WAITCNT 0 27 ; GCN: S_WAITCNT 0
28 ; GCN: $sgpr30_sgpr31 = S_LOAD_DWORDX2_IMM $sgpr4_sgpr5, 0, 0, 0 28 ; GCN: $sgpr30_sgpr31 = S_LOAD_DWORDX2_IMM $sgpr4_sgpr5, 0, 0
29 ; GCN: $sgpr33 = S_MOV_B32 killed $sgpr7 29 ; GCN: $sgpr33 = S_MOV_B32 killed $sgpr7
30 ; GCN: $flat_scr_lo = S_ADD_U32 killed $sgpr4, $sgpr33, implicit-def $scc 30 ; GCN: $flat_scr_lo = S_ADD_U32 killed $sgpr4, $sgpr33, implicit-def $scc
31 ; GCN: $flat_scr_hi = S_ADDC_U32 killed $sgpr5, 0, implicit-def $scc, implicit killed $scc 31 ; GCN: $flat_scr_hi = S_ADDC_U32 killed $sgpr5, 0, implicit-def $scc, implicit killed $scc
32 ; GCN: BUNDLE implicit-def $sgpr4_sgpr5, implicit-def $sgpr4, implicit-def $sgpr5, implicit-def $scc { 32 ; GCN: BUNDLE implicit-def $sgpr4_sgpr5, implicit-def $sgpr4, implicit-def $sgpr5, implicit-def $scc {
33 ; GCN: $sgpr4_sgpr5 = S_GETPC_B64 33 ; GCN: $sgpr4_sgpr5 = S_GETPC_B64
36 ; GCN: } 36 ; GCN: }
37 ; GCN: $sgpr32 = S_MOV_B32 $sgpr33 37 ; GCN: $sgpr32 = S_MOV_B32 $sgpr33
38 ; GCN: S_WAITCNT 49279 38 ; GCN: S_WAITCNT 49279
39 ; GCN: dead $sgpr30_sgpr31 = SI_CALL killed renamable $sgpr4_sgpr5, @func, csr_amdgpu_highregs, implicit $sgpr0_sgpr1_sgpr2_sgpr3, implicit-def dead $vgpr0 39 ; GCN: dead $sgpr30_sgpr31 = SI_CALL killed renamable $sgpr4_sgpr5, @func, csr_amdgpu_highregs, implicit $sgpr0_sgpr1_sgpr2_sgpr3, implicit-def dead $vgpr0
40 ; GCN: S_ENDPGM 0 40 ; GCN: S_ENDPGM 0
41 $sgpr30_sgpr31 = S_LOAD_DWORDX2_IMM $sgpr4_sgpr5, 0, 0, 0 41 $sgpr30_sgpr31 = S_LOAD_DWORDX2_IMM $sgpr4_sgpr5, 0, 0
42 $sgpr33 = S_MOV_B32 killed $sgpr7 42 $sgpr33 = S_MOV_B32 killed $sgpr7
43 $flat_scr_lo = S_ADD_U32 killed $sgpr4, $sgpr33, implicit-def $scc 43 $flat_scr_lo = S_ADD_U32 killed $sgpr4, $sgpr33, implicit-def $scc
44 $flat_scr_hi = S_ADDC_U32 killed $sgpr5, 0, implicit-def $scc, implicit killed $scc 44 $flat_scr_hi = S_ADDC_U32 killed $sgpr5, 0, implicit-def $scc, implicit killed $scc
45 BUNDLE implicit-def $sgpr4_sgpr5, implicit-def $sgpr4, implicit-def $sgpr5, implicit-def $scc { 45 BUNDLE implicit-def $sgpr4_sgpr5, implicit-def $sgpr4, implicit-def $sgpr5, implicit-def $scc {
46 $sgpr4_sgpr5 = S_GETPC_B64 46 $sgpr4_sgpr5 = S_GETPC_B64