| # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py |
| # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck -check-prefix=MUBUF %s |
| # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck -check-prefix=MUBUF %s |
| # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck -check-prefix=MUBUFW32 %s |
| # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck -check-prefix=FLATSCRW64 %s |
| # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck -check-prefix=FLATSCRW32 %s |
| # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck -check-prefix=FLATSCRW32 %s |
| |
| --- |
| name: v_add_u32_e32__inline_imm__fi_offset0 |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 4, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0 |
| ; MUBUF: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 12, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0 |
| ; MUBUFW32: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 12, killed $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0 |
| ; FLATSCRW64: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 12, killed $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0 |
| ; FLATSCRW32: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 12, killed $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 12, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__inline_imm___fi_offset_inline_imm |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 16, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e32__inline_imm___fi_offset_inline_imm |
| ; MUBUF: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 28, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__inline_imm___fi_offset_inline_imm |
| ; MUBUFW32: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 28, killed $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__inline_imm___fi_offset_inline_imm |
| ; FLATSCRW64: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 28, killed $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__inline_imm___fi_offset_inline_imm |
| ; FLATSCRW32: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 28, killed $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 12, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__literal__fi_offset0 |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 4, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e32__literal__fi_offset0 |
| ; MUBUF: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 68, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__literal__fi_offset0 |
| ; MUBUFW32: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 68, killed $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__literal__fi_offset0 |
| ; FLATSCRW64: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 68, killed $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__literal__fi_offset0 |
| ; FLATSCRW32: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 68, killed $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 68, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__literal__fi_offset0__offset_inlineimm |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e32__literal__fi_offset0__offset_inlineimm |
| ; MUBUF: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 100, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__literal__fi_offset0__offset_inlineimm |
| ; MUBUFW32: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 100, killed $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__literal__fi_offset0__offset_inlineimm |
| ; FLATSCRW64: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 100, killed $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__literal__fi_offset0__offset_inlineimm |
| ; FLATSCRW32: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 100, killed $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 68, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__vgpr__fi_offset0 |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 4, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e32__vgpr__fi_offset0 |
| ; MUBUF: liveins: $vgpr1 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__vgpr__fi_offset0 |
| ; MUBUFW32: liveins: $vgpr1 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__vgpr__fi_offset0 |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__vgpr__fi_offset0 |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__fi_offset0__vgpr |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 4, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e32__fi_offset0__vgpr |
| ; MUBUF: liveins: $vgpr1 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__fi_offset0__vgpr |
| ; MUBUFW32: liveins: $vgpr1 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__fi_offset0__vgpr |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__fi_offset0__vgpr |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.0, $vgpr1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__vgpr__fi_literal_offset |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e32__vgpr__fi_literal_offset |
| ; MUBUF: liveins: $vgpr1 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__vgpr__fi_literal_offset |
| ; MUBUFW32: liveins: $vgpr1 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__vgpr__fi_literal_offset |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__vgpr__fi_literal_offset |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__fi_literal_offset__vgpr |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e32__fi_literal_offset__vgpr |
| ; MUBUF: liveins: $vgpr1 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__fi_literal_offset__vgpr |
| ; MUBUFW32: liveins: $vgpr1 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr2 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $vgpr1, killed $vgpr2, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__fi_literal_offset__vgpr |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__fi_literal_offset__vgpr |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr32, $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.1, $vgpr1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__sgpr__fi_literal_offset |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $sgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e32__sgpr__fi_literal_offset |
| ; MUBUF: liveins: $sgpr8 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__sgpr__fi_literal_offset |
| ; MUBUFW32: liveins: $sgpr8 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__sgpr__fi_literal_offset |
| ; FLATSCRW64: liveins: $sgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__sgpr__fi_literal_offset |
| ; FLATSCRW32: liveins: $sgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 128, killed $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__inline_imm__fi_offset0 |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 4, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0 |
| ; MUBUF: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 12, killed $vgpr1, 0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0 |
| ; MUBUFW32: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 12, killed $vgpr1, 0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0 |
| ; FLATSCRW64: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, 12, 0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0 |
| ; FLATSCRW32: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, 12, 0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 12, %stack.0, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__fi_literal_offset__sgpr |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $sgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e64__fi_literal_offset__sgpr |
| ; MUBUF: liveins: $sgpr8 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__fi_literal_offset__sgpr |
| ; MUBUFW32: liveins: $sgpr8 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 128, killed $vgpr0, 0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__fi_literal_offset__sgpr |
| ; FLATSCRW64: liveins: $sgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 $sgpr32, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr8, killed $vgpr1, 0, implicit $exec |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__fi_literal_offset__sgpr |
| ; FLATSCRW32: liveins: $sgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $sgpr8, 0, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 128, killed $vgpr0, 0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 %stack.1, $sgpr8, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__vgpr__fi_literal_offset |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset |
| ; MUBUF: liveins: $vgpr8 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset |
| ; MUBUFW32: liveins: $vgpr8 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr0, 128, 0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset |
| ; FLATSCRW64: liveins: $vgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $vgpr8, 0, implicit $exec |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset |
| ; FLATSCRW32: liveins: $vgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $vgpr8, 0, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr0, 128, 0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, %stack.1, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__vgpr__fi_literal_offset__clamp |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset__clamp |
| ; MUBUF: liveins: $vgpr8 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset__clamp |
| ; MUBUFW32: liveins: $vgpr8 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr0, 128, 1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset__clamp |
| ; FLATSCRW64: liveins: $vgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $vgpr8, 0, implicit $exec |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__vgpr__fi_literal_offset__clamp |
| ; FLATSCRW32: liveins: $vgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $vgpr8, 0, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr0, 128, 1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, %stack.1, 1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__fi_literal_offset__vgpr__clamp |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| liveins: $vgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp |
| ; MUBUF: liveins: $vgpr8 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr32, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp |
| ; MUBUFW32: liveins: $vgpr8 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr32, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr8, killed $vgpr1, 0, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 128, killed $vgpr0, 1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp |
| ; FLATSCRW64: liveins: $vgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $vgpr8, 0, implicit $exec |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, killed $vgpr0, 1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp |
| ; FLATSCRW32: liveins: $vgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr32, $vgpr8, 0, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 128, killed $vgpr0, 1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 %stack.1, $vgpr8, 1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__fi_literal_offset__vgpr__clamp__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 128, alignment: 16 } |
| - { id: 1, size: 4, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp__kernel |
| ; MUBUF: liveins: $vgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, $vgpr8, 1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp__kernel |
| ; MUBUFW32: liveins: $vgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 128, $vgpr8, 1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp__kernel |
| ; FLATSCRW64: liveins: $vgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 128, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, $vgpr8, 1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__fi_literal_offset__vgpr__clamp__kernel |
| ; FLATSCRW32: liveins: $vgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 128, $vgpr8, 1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 %stack.1, $vgpr8, 1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__inline_imm__fi_offset0__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0__kernel |
| ; MUBUF: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0__kernel |
| ; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0__kernel |
| ; FLATSCRW64: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__inline_imm__fi_offset0__kernel |
| ; FLATSCRW32: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 12, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__inline_imm__fi_offset0__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0__kernel |
| ; MUBUF: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0__kernel |
| ; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0__kernel |
| ; FLATSCRW64: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__inline_imm__fi_offset0__kernel |
| ; FLATSCRW32: renamable $vgpr0 = V_MOV_B32_e32 12, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 12, %stack.0, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| |
| |
| --- |
| name: v_add_u32_e32__inline_imm__fi_literal__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 80, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e32__inline_imm__fi_literal__kernel |
| ; MUBUF: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__inline_imm__fi_literal__kernel |
| ; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__inline_imm__fi_literal__kernel |
| ; FLATSCRW64: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__inline_imm__fi_literal__kernel |
| ; FLATSCRW32: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 12, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__inline_imm__fi_literal__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 80, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel |
| ; MUBUF: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel |
| ; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel |
| ; FLATSCRW64: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel |
| ; FLATSCRW32: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 12, %stack.1, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__fi_literal__inline_imm__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 80, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e64__fi_literal__inline_imm__kernel |
| ; MUBUF: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__fi_literal__inline_imm__kernel |
| ; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__fi_literal__inline_imm__kernel |
| ; FLATSCRW64: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__fi_literal__inline_imm__kernel |
| ; FLATSCRW32: renamable $vgpr0 = V_MOV_B32_e32 44, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 %stack.1, 12, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__inline_imm__fi_literal__kernel__clamp |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 80, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel__clamp |
| ; MUBUF: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 44, 0, 1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel__clamp |
| ; MUBUFW32: liveins: $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 44, 0, 1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel__clamp |
| ; FLATSCRW64: renamable $vgpr0 = V_ADD_U32_e64 44, 0, 1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__inline_imm__fi_literal__kernel__clamp |
| ; FLATSCRW32: renamable $vgpr0 = V_ADD_U32_e64 44, 0, 1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 12, %stack.1, 1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: killed_reg_regression |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 80, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: killed_reg_regression |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_LSHLREV_B32_e32 2, killed $vgpr0, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr2 = V_MOV_B32_e32 15, implicit $exec |
| ; MUBUF-NEXT: SCRATCH_STORE_DWORD killed renamable $vgpr2, killed renamable $vgpr1, 0, 0, implicit $exec, implicit $flat_scr :: (volatile store (s32), addrspace 5) |
| ; MUBUF-NEXT: renamable $vgpr0 = V_SUB_U32_e32 0, killed $vgpr0, implicit $exec |
| ; MUBUF-NEXT: dead renamable $vgpr0 = SCRATCH_LOAD_DWORD killed renamable $vgpr0, 124, 0, implicit $exec, implicit $flat_scr :: (volatile load (s32), addrspace 5) |
| ; MUBUF-NEXT: S_ENDPGM 0 |
| ; |
| ; MUBUFW32-LABEL: name: killed_reg_regression |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_LSHLREV_B32_e32 2, killed $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr2 = V_MOV_B32_e32 15, implicit $exec |
| ; MUBUFW32-NEXT: SCRATCH_STORE_DWORD killed renamable $vgpr2, killed renamable $vgpr1, 0, 0, implicit $exec, implicit $flat_scr :: (volatile store (s32), addrspace 5) |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_SUB_U32_e32 0, killed $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: dead renamable $vgpr0 = SCRATCH_LOAD_DWORD killed renamable $vgpr0, 124, 0, implicit $exec, implicit $flat_scr :: (volatile load (s32), addrspace 5) |
| ; MUBUFW32-NEXT: S_ENDPGM 0 |
| ; |
| ; FLATSCRW64-LABEL: name: killed_reg_regression |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_LSHLREV_B32_e32 2, killed $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr2 = V_MOV_B32_e32 15, implicit $exec |
| ; FLATSCRW64-NEXT: SCRATCH_STORE_DWORD killed renamable $vgpr2, killed renamable $vgpr1, 0, 0, implicit $exec, implicit $flat_scr :: (volatile store (s32), addrspace 5) |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_SUB_U32_e32 0, killed $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: dead renamable $vgpr0 = SCRATCH_LOAD_DWORD killed renamable $vgpr0, 124, 0, implicit $exec, implicit $flat_scr :: (volatile load (s32), addrspace 5) |
| ; FLATSCRW64-NEXT: S_ENDPGM 0 |
| ; |
| ; FLATSCRW32-LABEL: name: killed_reg_regression |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_LSHLREV_B32_e32 2, killed $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr2 = V_MOV_B32_e32 15, implicit $exec |
| ; FLATSCRW32-NEXT: SCRATCH_STORE_DWORD killed renamable $vgpr2, killed renamable $vgpr1, 0, 0, implicit $exec, implicit $flat_scr :: (volatile store (s32), addrspace 5) |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_SUB_U32_e32 0, killed $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: dead renamable $vgpr0 = SCRATCH_LOAD_DWORD killed renamable $vgpr0, 124, 0, implicit $exec, implicit $flat_scr :: (volatile load (s32), addrspace 5) |
| ; FLATSCRW32-NEXT: S_ENDPGM 0 |
| renamable $vgpr0 = V_LSHLREV_B32_e32 2, killed $vgpr0, implicit $exec |
| renamable $vgpr1 = V_ADD_U32_e32 %stack.0, $vgpr0, implicit $exec |
| renamable $vgpr2 = V_MOV_B32_e32 15, implicit $exec |
| SCRATCH_STORE_DWORD killed renamable $vgpr2, killed renamable $vgpr1, 0, 0, implicit $exec, implicit $flat_scr :: (volatile store (s32), addrspace 5) |
| renamable $vgpr0 = V_SUB_U32_e32 %stack.0, killed $vgpr0, implicit $exec |
| dead renamable $vgpr0 = SCRATCH_LOAD_DWORD killed renamable $vgpr0, 124, 0, implicit $exec, implicit $flat_scr :: (volatile load (s32), addrspace 5) |
| S_ENDPGM 0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__kernel_fi_offset0__other_vgpr_live_after |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 16, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e32__kernel_fi_offset0__other_vgpr_live_after |
| ; MUBUF: liveins: $vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__kernel_fi_offset0__other_vgpr_live_after |
| ; MUBUFW32: liveins: $vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__kernel_fi_offset0__other_vgpr_live_after |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__kernel_fi_offset0__other_vgpr_live_after |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| renamable $vgpr0 = V_ADD_U32_e32 renamable $vgpr1, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__kernel_other_vgpr_live_after__fi_offset0 |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 16, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e32__kernel_other_vgpr_live_after__fi_offset0 |
| ; MUBUF: liveins: $vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__kernel_other_vgpr_live_after__fi_offset0 |
| ; MUBUFW32: liveins: $vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__kernel_other_vgpr_live_after__fi_offset0 |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__kernel_other_vgpr_live_after__fi_offset0 |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.0, renamable $vgpr1, implicit $exec |
| SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__kernel_fi_offset0__sgpr_live_after |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 16, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $sgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e32__kernel_fi_offset0__sgpr_live_after |
| ; MUBUF: liveins: $sgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $sgpr8, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__kernel_fi_offset0__sgpr_live_after |
| ; MUBUFW32: liveins: $sgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $sgpr8, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__kernel_fi_offset0__sgpr_live_after |
| ; FLATSCRW64: liveins: $sgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $sgpr8, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__kernel_fi_offset0__sgpr_live_after |
| ; FLATSCRW32: liveins: $sgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $sgpr8, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| renamable $vgpr0 = V_ADD_U32_e32 renamable $sgpr8, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__kernel_fi_offset0__other_vgpr_live_after |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 16, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr1 |
| ; MUBUF-LABEL: name: v_add_u32_e64__kernel_fi_offset0__other_vgpr_live_after |
| ; MUBUF: liveins: $vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__kernel_fi_offset0__other_vgpr_live_after |
| ; MUBUFW32: liveins: $vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__kernel_fi_offset0__other_vgpr_live_after |
| ; FLATSCRW64: liveins: $vgpr1 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__kernel_fi_offset0__other_vgpr_live_after |
| ; FLATSCRW32: liveins: $vgpr1 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| renamable $vgpr0 = V_ADD_U32_e64 renamable $vgpr1, %stack.0, 0, implicit $exec |
| SI_RETURN implicit $vgpr0, implicit $vgpr1 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__kernel_fi_offset72__sgpr_live_after |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 72, alignment: 16 } |
| - { id: 1, size: 32, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $sgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e32__kernel_fi_offset72__sgpr_live_after |
| ; MUBUF: liveins: $sgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 72, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__kernel_fi_offset72__sgpr_live_after |
| ; MUBUFW32: liveins: $sgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $vgpr1 = V_MOV_B32_e32 72, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__kernel_fi_offset72__sgpr_live_after |
| ; FLATSCRW64: liveins: $sgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 72, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__kernel_fi_offset72__sgpr_live_after |
| ; FLATSCRW32: liveins: $sgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: $vgpr1 = V_MOV_B32_e32 72, implicit $exec |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 $sgpr8, killed $vgpr1, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| renamable $vgpr0 = V_ADD_U32_e32 renamable $sgpr8, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__kernel_fi_offset72__sgpr_live_after |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 72, alignment: 16 } |
| - { id: 1, size: 32, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $sgpr8 |
| ; MUBUF-LABEL: name: v_add_u32_e64__kernel_fi_offset72__sgpr_live_after |
| ; MUBUF: liveins: $sgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $vgpr1 = V_MOV_B32_e32 72, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, $sgpr8, 0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__kernel_fi_offset72__sgpr_live_after |
| ; MUBUFW32: liveins: $sgpr8, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr8, 72, 0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__kernel_fi_offset72__sgpr_live_after |
| ; FLATSCRW64: liveins: $sgpr8 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: $vgpr1 = V_MOV_B32_e32 72, implicit $exec |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 killed $vgpr1, $sgpr8, 0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__kernel_fi_offset72__sgpr_live_after |
| ; FLATSCRW32: liveins: $sgpr8 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $sgpr8, 72, 0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| renamable $vgpr0 = V_ADD_U32_e64 renamable $sgpr8, %stack.1, 0, implicit $exec |
| SI_RETURN implicit $vgpr0, implicit $sgpr8 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__identity_vgpr__fi_offset0__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset0__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset0__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset0__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset0__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 $vgpr0, %stack.0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| ; MUBUF-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.0, $vgpr0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__identity_vgpr__fi_offset0__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset0__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset0__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset0__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset0__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 $vgpr0, %stack.0, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__fi_offset0__identity_vgpr__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e64__fi_offset0__identity_vgpr__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__fi_offset0__identity_vgpr__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__fi_offset0__identity_vgpr__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__fi_offset0__identity_vgpr__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 %stack.0, $vgpr0, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel_kill |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| ; MUBUF-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel_kill |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel_kill |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel_kill |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__fi_offset0__identity_vgpr__kernel_kill |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.0, killed $vgpr0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__identity_vgpr__fi_offset32__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 64, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset32__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset32__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset32__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset32__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 $vgpr0, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| |
| --- |
| name: v_add_u32_e32__identity_vgpr__fi_offset72__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 72, alignment: 16 } |
| - { id: 1, size: 64, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset72__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset72__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset72__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__identity_vgpr__fi_offset72__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 $vgpr0, %stack.1, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__fi_offset72__identity_vgpr__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 72, alignment: 16 } |
| - { id: 1, size: 64, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e32__fi_offset72__identity_vgpr__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__fi_offset72__identity_vgpr__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__fi_offset72__identity_vgpr__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__fi_offset72__identity_vgpr__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 72, $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.1, $vgpr0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e32__fi_offset32__identity_vgpr__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 64, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e32__fi_offset32__identity_vgpr__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e32__fi_offset32__identity_vgpr__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e32__fi_offset32__identity_vgpr__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e32__fi_offset32__identity_vgpr__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e32 32, $vgpr0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e32 %stack.1, $vgpr0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64__identity_vgpr__fi_offset32__kernel |
| tracksRegLiveness: true |
| stack: |
| - { id: 0, size: 32, alignment: 16 } |
| - { id: 1, size: 64, alignment: 4 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| isEntryFunction: true |
| body: | |
| bb.0: |
| liveins: $vgpr0 |
| |
| ; MUBUF-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset32__kernel |
| ; MUBUF: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr0, 32, 0, implicit $exec |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset32__kernel |
| ; MUBUFW32: liveins: $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr0 = S_ADD_U32 $sgpr0, $noreg, implicit-def $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: $sgpr1 = S_ADDC_U32 $sgpr1, 0, implicit-def dead $scc, implicit $scc, implicit-def $sgpr0_sgpr1_sgpr2_sgpr3 |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr0, 32, 0, implicit $exec |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset32__kernel |
| ; FLATSCRW64: liveins: $vgpr0 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr0, 32, 0, implicit $exec |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW32-LABEL: name: v_add_u32_e64__identity_vgpr__fi_offset32__kernel |
| ; FLATSCRW32: liveins: $vgpr0 |
| ; FLATSCRW32-NEXT: {{ $}} |
| ; FLATSCRW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 $vgpr0, 32, 0, implicit $exec |
| ; FLATSCRW32-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 $vgpr0, %stack.1, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |
| |
| --- |
| name: v_add_u32_e64_imm_fi_vop3_literal_error |
| tracksRegLiveness: true |
| frameInfo: |
| localFrameSize: 12576 |
| stack: |
| - { id: 0, size: 4, alignment: 8192, local-offset: 0 } |
| - { id: 1, size: 8480, alignment: 4096, local-offset: 4096 } |
| machineFunctionInfo: |
| scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3' |
| frameOffsetReg: '$sgpr33' |
| stackPtrOffsetReg: '$sgpr32' |
| body: | |
| bb.0: |
| ; MUBUF-LABEL: name: v_add_u32_e64_imm_fi_vop3_literal_error |
| ; MUBUF: liveins: $sgpr4 |
| ; MUBUF-NEXT: {{ $}} |
| ; MUBUF-NEXT: $sgpr4 = frame-setup COPY $sgpr33 |
| ; MUBUF-NEXT: $sgpr33 = frame-setup S_ADD_I32 $sgpr32, 524224, implicit-def $scc |
| ; MUBUF-NEXT: $sgpr33 = frame-setup S_AND_B32 killed $sgpr33, 4294443008, implicit-def dead $scc |
| ; MUBUF-NEXT: $sgpr32 = frame-setup S_ADD_I32 $sgpr32, 2097152, implicit-def dead $scc |
| ; MUBUF-NEXT: $vgpr1 = V_LSHRREV_B32_e64 6, $sgpr33, implicit $exec |
| ; MUBUF-NEXT: $vgpr1 = V_ADD_U32_e32 12288, killed $vgpr1, implicit $exec |
| ; MUBUF-NEXT: renamable $vgpr0 = V_ADD_U32_e64 64, killed $vgpr1, 0, implicit $exec |
| ; MUBUF-NEXT: $sgpr32 = frame-destroy S_ADD_I32 $sgpr32, -2097152, implicit-def dead $scc |
| ; MUBUF-NEXT: $sgpr33 = frame-destroy COPY $sgpr4 |
| ; MUBUF-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; MUBUFW32-LABEL: name: v_add_u32_e64_imm_fi_vop3_literal_error |
| ; MUBUFW32: liveins: $sgpr4 |
| ; MUBUFW32-NEXT: {{ $}} |
| ; MUBUFW32-NEXT: $sgpr4 = frame-setup COPY $sgpr33 |
| ; MUBUFW32-NEXT: $sgpr33 = frame-setup S_ADD_I32 $sgpr32, 262112, implicit-def $scc |
| ; MUBUFW32-NEXT: $sgpr33 = frame-setup S_AND_B32 killed $sgpr33, 4294705152, implicit-def dead $scc |
| ; MUBUFW32-NEXT: $sgpr32 = frame-setup S_ADD_I32 $sgpr32, 1048576, implicit-def dead $scc |
| ; MUBUFW32-NEXT: renamable $vgpr1 = V_LSHRREV_B32_e64 5, $sgpr33, implicit $exec |
| ; MUBUFW32-NEXT: renamable $vgpr0 = V_ADD_U32_e64 12352, killed $vgpr1, 0, implicit $exec |
| ; MUBUFW32-NEXT: $sgpr32 = frame-destroy S_ADD_I32 $sgpr32, -1048576, implicit-def dead $scc |
| ; MUBUFW32-NEXT: $sgpr33 = frame-destroy COPY $sgpr4 |
| ; MUBUFW32-NEXT: SI_RETURN implicit $vgpr0 |
| ; |
| ; FLATSCRW64-LABEL: name: v_add_u32_e64_imm_fi_vop3_literal_error |
| ; FLATSCRW64: liveins: $sgpr4 |
| ; FLATSCRW64-NEXT: {{ $}} |
| ; FLATSCRW64-NEXT: $sgpr4 = frame-setup COPY $sgpr33 |
| ; FLATSCRW64-NEXT: $sgpr33 = frame-setup S_ADD_I32 $sgpr32, 8191, implicit-def $scc |
| ; FLATSCRW64-NEXT: $sgpr33 = frame-setup S_AND_B32 killed $sgpr33, 4294959104, implicit-def dead $scc |
| ; FLATSCRW64-NEXT: $sgpr32 = frame-setup S_ADD_I32 $sgpr32, 32768, implicit-def dead $scc |
| ; FLATSCRW64-NEXT: $sgpr5 = S_ADD_I32 $sgpr33, 12288, implicit-def $scc |
| ; FLATSCRW64-NEXT: renamable $vgpr0 = V_ADD_U32_e64 64, killed $sgpr5, 0, implicit $exec |
| ; FLATSCRW64-NEXT: $sgpr32 = frame-destroy S_ADD_I32 $sgpr32, -32768, implicit-def dead $scc |
| ; FLATSCRW64-NEXT: $sgpr33 = frame-destroy COPY $sgpr4 |
| ; FLATSCRW64-NEXT: SI_RETURN implicit $vgpr0 |
| renamable $vgpr0 = V_ADD_U32_e64 64, %stack.1, 0, implicit $exec |
| SI_RETURN implicit $vgpr0 |
| |
| ... |