22 lines · plain
1# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass machine-scheduler %s -o - | FileCheck -check-prefix=GCN %s2# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -passes=machine-scheduler %s -o - | FileCheck -check-prefix=GCN %s3 4# GCN-LABEL: name: cluster_flat_loads5# GCN: FLAT_LOAD_DWORD %0, 06# GCN-NEXT: FLAT_LOAD_DWORD %0, 47# GCN-NEXT: V_ADD_F32_e648name: cluster_flat_loads9tracksRegLiveness: true10registers:11 - { id: 0, class: vreg_64 }12 - { id: 1, class: vgpr_32 }13 - { id: 2, class: vgpr_32 }14 - { id: 3, class: vgpr_32 }15body: |16 bb.0:17 %0 = IMPLICIT_DEF18 %1 = FLAT_LOAD_DWORD %0, 0, 0, implicit $exec, implicit $flat_scr :: (load (s32))19 %2 = V_ADD_F32_e64 0, killed %1, 0, 1, 0, 0, implicit $mode, implicit $exec20 %3 = FLAT_LOAD_DWORD %0, 4, 0, implicit $exec, implicit $flat_scr :: (load (s32))21...22