1# RUN: llc -march=amdgcn -mcpu=tonga -run-pass post-RA-sched -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s 2 3# GCN: FLAT_LOAD_DWORD 4# GCN-NEXT: FLAT_LOAD_DWORD 5# GCN: FLAT_STORE_DWORD 6# GCN-NEXT: FLAT_STORE_DWORD 7 8--- 9name: cluster_loads_post_ra 10tracksRegLiveness: true 11registers: 12liveins: 13 - { reg: '$vgpr0' } 14body: | 15 bb.0: 16 liveins: $vgpr0 17 18 $vgpr0_vgpr1 = IMPLICIT_DEF 19 $vgpr4_vgpr5 = IMPLICIT_DEF 20 $vgpr0 = FLAT_LOAD_DWORD $vgpr0_vgpr1, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (load 4) 21 $vgpr4 = FLAT_LOAD_DWORD $vgpr4_vgpr5, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (load 4) 22 $vgpr2 = IMPLICIT_DEF 23 $vgpr3 = IMPLICIT_DEF 24 $vgpr6 = IMPLICIT_DEF 25 $vgpr0 = V_ADD_CO_U32_e32 16, $vgpr2, implicit-def $vcc, implicit $exec 26 $vgpr1 = V_ADDC_U32_e32 $vgpr3, killed $vgpr6, implicit-def dead $vcc, implicit $vcc, implicit $exec 27 FLAT_STORE_DWORD $vgpr2_vgpr3, killed $vgpr0, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (store 4) 28 FLAT_STORE_DWORD $vgpr0_vgpr1, killed $vgpr4, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (store 4) 29 S_ENDPGM 0 30 31... 32