CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
73 lines
2.9 KiB
YAML
73 lines
2.9 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
|
|
# RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck -check-prefix=SGPR-SPILL %s
|
|
|
|
---
|
|
name: sgpr_spill_initial_insert_in_body_moves_to_preheader
|
|
tracksRegLiveness: true
|
|
frameInfo:
|
|
maxAlignment: 4
|
|
stack:
|
|
- { id: 0, type: spill-slot, size: 4, alignment: 4, stack-id: sgpr-spill }
|
|
machineFunctionInfo:
|
|
isEntryFunction: false
|
|
scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3'
|
|
stackPtrOffsetReg: '$sgpr32'
|
|
frameOffsetReg: '$sgpr33'
|
|
hasSpilledSGPRs: true
|
|
body: |
|
|
; SGPR-SPILL-LABEL: name: sgpr_spill_initial_insert_in_body_moves_to_preheader
|
|
; SGPR-SPILL: bb.0:
|
|
; SGPR-SPILL-NEXT: successors: %bb.1(0x80000000)
|
|
; SGPR-SPILL-NEXT: liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: [[DEF:%[0-9]+]]:vgpr_32 = IMPLICIT_DEF
|
|
; SGPR-SPILL-NEXT: S_BRANCH %bb.1
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: bb.1:
|
|
; SGPR-SPILL-NEXT: successors: %bb.2(0x40000000), %bb.4(0x40000000)
|
|
; SGPR-SPILL-NEXT: liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: S_CMP_EQ_U32 $sgpr11, 0, implicit-def $scc
|
|
; SGPR-SPILL-NEXT: S_CBRANCH_SCC1 %bb.2, implicit killed $scc
|
|
; SGPR-SPILL-NEXT: S_BRANCH %bb.4
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: bb.2:
|
|
; SGPR-SPILL-NEXT: successors: %bb.3(0x80000000)
|
|
; SGPR-SPILL-NEXT: liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: $sgpr10 = SI_RESTORE_S32_FROM_VGPR [[DEF]], 0
|
|
; SGPR-SPILL-NEXT: $sgpr10 = S_MOV_B32 1
|
|
; SGPR-SPILL-NEXT: [[DEF:%[0-9]+]]:vgpr_32 = SI_SPILL_S32_TO_VGPR killed $sgpr10, 0, [[DEF]]
|
|
; SGPR-SPILL-NEXT: S_BRANCH %bb.3
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: bb.3:
|
|
; SGPR-SPILL-NEXT: successors: %bb.1(0x80000000)
|
|
; SGPR-SPILL-NEXT: liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: S_BRANCH %bb.1
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: bb.4:
|
|
; SGPR-SPILL-NEXT: liveins: $sgpr30_sgpr31
|
|
; SGPR-SPILL-NEXT: {{ $}}
|
|
; SGPR-SPILL-NEXT: S_SETPC_B64 $sgpr30_sgpr31
|
|
bb.0:
|
|
liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
S_BRANCH %bb.1
|
|
bb.1:
|
|
liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
S_CMP_EQ_U32 $sgpr11, 0, implicit-def $scc
|
|
S_CBRANCH_SCC1 %bb.2, implicit killed $scc
|
|
S_BRANCH %bb.4
|
|
bb.2:
|
|
liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
renamable $sgpr10 = SI_SPILL_S32_RESTORE %stack.0, implicit $exec, implicit $sgpr0_sgpr1_sgpr2_sgpr3, implicit $sgpr32
|
|
$sgpr10 = S_MOV_B32 1
|
|
SI_SPILL_S32_SAVE killed $sgpr10, %stack.0, implicit $exec, implicit $sgpr0_sgpr1_sgpr2_sgpr3, implicit $sgpr32
|
|
S_BRANCH %bb.3
|
|
bb.3:
|
|
liveins: $sgpr10, $sgpr11, $sgpr30_sgpr31
|
|
S_BRANCH %bb.1
|
|
bb.4:
|
|
liveins: $sgpr30_sgpr31
|
|
S_SETPC_B64 $sgpr30_sgpr31
|