brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 6a2a2b0 Raw
30 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass=regallocfast -o - %s | FileCheck %s3# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -passes=regallocfast -o - %s | FileCheck %s4 5# This would hit "Illegal subregister index for physical register" verifier error since6# tied operands would skip dropping the subregister index.7 8---9name:   invalid_subreg_index10tracksRegLiveness: true11machineFunctionInfo:12  isEntryFunction: true13body:             |14  bb.0:15    liveins: $vgpr0, $sgpr016 17    ; CHECK-LABEL: name: invalid_subreg_index18    ; CHECK: liveins: $vgpr0, $sgpr019    ; CHECK-NEXT: {{  $}}20    ; CHECK-NEXT: $m0 = COPY renamable $sgpr021    ; CHECK-NEXT: undef renamable $vgpr1 = V_INTERP_P2_F32 undef $vgpr1, undef $vgpr0, 0, 1, implicit $mode, implicit $m0, implicit $exec, implicit-def dead $vgpr0_vgpr122    ; CHECK-NEXT: S_ENDPGM 0, implicit killed renamable $sgpr023    %0:vgpr_32 = COPY $vgpr024    %1:sgpr_32 = COPY $sgpr025    $m0 = COPY %126    undef %2.sub1:vreg_64 = V_INTERP_P2_F32 undef %2.sub1, undef %0:vgpr_32, 0, 1, implicit $mode, implicit $m0, implicit $exec27    S_ENDPGM 0, implicit %128 29...30