brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · e614772 Raw
38 lines · plain
1# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -enable-misched --debug-only=machine-scheduler -run-pass=machine-scheduler -filetype=null %s 2>&1 | FileCheck %s2# REQUIRES: asserts3 4# Make sure handling of unsigned immediate values interpreted as negative values5# still works for SIInstrInfo::areMemAccessesTriviallyDisjoint.6 7# LABEL: {{^}}no_reorder_flat_load_local_store_local_load:8# CHECK:      SU(5):   %5:vgpr_32 = V_MOV_B32_e32 0, implicit $exec9# CHECK:      SU(6):   DS_WRITE_B128_gfx9 %5:vgpr_32, %4:vreg_128, 512, 0, implicit $exec10# CHECK:      SU(7):   %6:vreg_64 = DS_READ2_B32_gfx9 %5:vgpr_32, -127, -126, 0, implicit $exec11# CHECK:      Predecessors:12# CHECK-NEXT: SU(6): Ord13# CHECK-NEXT: SU(5): Data14---15name:            no_reorder_flat_load_local_store_local_load16tracksRegLiveness: true17body:             |18  bb.0:19    liveins: $sgpr0_sgpr120 21    %1:sgpr_64(p4) = COPY $sgpr0_sgpr122    %4:sreg_32_xm0_xexec = S_LOAD_DWORD_IMM %1(p4), 36, 023    %5:sreg_64_xexec = S_LOAD_DWORDX2_IMM %1(p4), 44, 024    %7:vreg_64 = COPY %525    %6:vreg_128 = FLAT_LOAD_DWORDX4 killed %7, 0, 0, implicit $exec, implicit $flat_scr26    %8:vgpr_32 = V_MOV_B32_e32 0, implicit $exec27    DS_WRITE_B128_gfx9 %8, killed %6, 512, 0, implicit $exec28    %9:vreg_64 = DS_READ2_B32_gfx9 %8, -127, -126, 0, implicit $exec29    %10:sreg_32 = COPY %9.sub130    %11:sreg_32 = COPY %9.sub031    %12:vgpr_32 = COPY %432    %13:vgpr_32 = COPY %1133    %14:vgpr_32 = COPY %1034    DS_WRITE2_B32_gfx9 killed %12, killed %13, killed %14, 0, 1, 0, implicit $exec35    S_ENDPGM 036 37...38