1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -run-pass=prologepilog -o - %s | FileCheck -check-prefix=GFX11 %s 3... 4--- 5name: tied_operand_test 6tracksRegLiveness: true 7stack: 8 - { id: 0, type: default, offset: 0, size: 2, alignment: 4, 9 stack-id: default, callee-saved-register: '', callee-saved-restored: true, 10 local-offset: 0, debug-info-variable: '', debug-info-expression: '', 11 debug-info-location: '' } 12 13machineFunctionInfo: 14 isEntryFunction: true 15 stackPtrOffsetReg: '$sgpr32' 16 17body: | 18 bb.0.entry: 19 liveins: $sgpr0_sgpr1 20 21 ; GFX11-LABEL: name: tied_operand_test 22 ; GFX11: liveins: $sgpr0_sgpr1 23 ; GFX11-NEXT: {{ $}} 24 ; GFX11-NEXT: renamable $vgpr0 = V_MOV_B32_e32 123, implicit $exec 25 ; GFX11-NEXT: renamable $vgpr0 = SCRATCH_LOAD_SHORT_D16_HI_ST 0, 0, killed renamable $vgpr0, implicit $exec, implicit $flat_scr 26 ; GFX11-NEXT: renamable $sgpr0 = S_LOAD_DWORD_IMM killed renamable $sgpr0_sgpr1, 4, 0 27 ; GFX11-NEXT: renamable $sgpr0 = S_LSHL_B32 killed renamable $sgpr0, 1, implicit-def dead $scc 28 ; GFX11-NEXT: renamable $vgpr1 = COPY killed renamable $sgpr0, implicit $exec 29 ; GFX11-NEXT: DS_WRITE_B32_gfx9 killed renamable $vgpr1, killed renamable $vgpr0, 8, 0, implicit $exec 30 ; GFX11-NEXT: S_ENDPGM 0 31 renamable $vgpr0 = V_MOV_B32_e32 123, implicit $exec 32 renamable $vgpr0 = SCRATCH_LOAD_SHORT_D16_HI_SADDR %stack.0, 0, 0, killed renamable $vgpr0, implicit $exec, implicit $flat_scr 33 renamable $sgpr0 = S_LOAD_DWORD_IMM killed renamable $sgpr0_sgpr1, 4, 0 34 renamable $sgpr0 = S_LSHL_B32 killed renamable $sgpr0, 1, implicit-def dead $scc 35 renamable $vgpr1 = COPY killed renamable $sgpr0, implicit $exec 36 DS_WRITE_B32_gfx9 killed renamable $vgpr1, killed renamable $vgpr0, 8, 0, implicit $exec 37 S_ENDPGM 0 38 39... 40