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
92 lines
2.8 KiB
YAML
92 lines
2.8 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
|
|
# RUN: llc -mtriple=amdgcn --run-pass=livevars -o - %s | FileCheck %s
|
|
---
|
|
# Check that super register is defined for an sgpr copy.
|
|
name: sgpr_copy
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
|
|
; CHECK-LABEL: name: sgpr_copy
|
|
; CHECK: %sval:sreg_32 = S_MOV_B32 0
|
|
; CHECK-NEXT: $sgpr0 = COPY %sval
|
|
; CHECK-NEXT: $sgpr1 = COPY %sval
|
|
; CHECK-NEXT: $sgpr2 = COPY %sval
|
|
; CHECK-NEXT: $sgpr3 = COPY killed %sval
|
|
; CHECK-NEXT: SI_RETURN implicit killed $sgpr0_sgpr1_sgpr2_sgpr3
|
|
%sval:sreg_32 = S_MOV_B32 0
|
|
|
|
$sgpr0 = COPY %sval
|
|
$sgpr1 = COPY %sval
|
|
$sgpr2 = COPY %sval
|
|
$sgpr3 = COPY %sval
|
|
SI_RETURN implicit $sgpr0_sgpr1_sgpr2_sgpr3
|
|
|
|
...
|
|
---
|
|
# Check that super register is defined for a vgpr vector copy.
|
|
name: vgpr_copy
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
|
|
; CHECK-LABEL: name: vgpr_copy
|
|
; CHECK: %vval:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
|
|
; CHECK-NEXT: $vgpr0 = COPY %vval
|
|
; CHECK-NEXT: $vgpr1 = COPY %vval
|
|
; CHECK-NEXT: $vgpr2 = COPY %vval
|
|
; CHECK-NEXT: $vgpr3 = COPY killed %vval
|
|
; CHECK-NEXT: dead [[COPY:%[0-9]+]]:vgpr_32 = COPY killed $vgpr0_vgpr1_vgpr2_vgpr3
|
|
%vval:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
|
|
|
|
$vgpr0 = COPY %vval
|
|
$vgpr1 = COPY %vval
|
|
$vgpr2 = COPY %vval
|
|
$vgpr3 = COPY %vval
|
|
%0:vgpr_32 = COPY $vgpr0_vgpr1_vgpr2_vgpr3
|
|
|
|
...
|
|
---
|
|
# Check that super register is defined when there is a hole.
|
|
name: sgpr_copy_hole
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
; CHECK-LABEL: name: sgpr_copy_hole
|
|
; CHECK: %sval:sreg_32 = S_MOV_B32 0
|
|
; CHECK-NEXT: $sgpr0 = COPY %sval
|
|
; CHECK-NEXT: $sgpr2 = COPY %sval
|
|
; CHECK-NEXT: $sgpr3 = COPY killed %sval
|
|
; CHECK-NEXT: SI_RETURN implicit killed $sgpr0_sgpr1_sgpr2_sgpr3
|
|
%sval:sreg_32 = S_MOV_B32 0
|
|
|
|
$sgpr0 = COPY %sval
|
|
$sgpr2 = COPY %sval
|
|
$sgpr3 = COPY %sval
|
|
SI_RETURN implicit $sgpr0_sgpr1_sgpr2_sgpr3
|
|
|
|
...
|
|
---
|
|
# Check that super register is defined when a pair interrupts the sequence.
|
|
name: vgpr_copy_pair
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
; CHECK-LABEL: name: vgpr_copy_pair
|
|
; CHECK: %vval:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
|
|
; CHECK-NEXT: $vgpr0 = COPY %vval
|
|
; CHECK-NEXT: $vgpr1 = COPY %vval
|
|
; CHECK-NEXT: $vgpr2 = COPY %vval
|
|
; CHECK-NEXT: $vgpr3 = COPY killed %vval
|
|
; CHECK-NEXT: dead [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr1_vgpr2
|
|
; CHECK-NEXT: dead [[COPY1:%[0-9]+]]:vgpr_32 = COPY killed $vgpr0_vgpr1_vgpr2_vgpr3
|
|
%vval:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
|
|
|
|
$vgpr0 = COPY %vval
|
|
$vgpr1 = COPY %vval
|
|
$vgpr2 = COPY %vval
|
|
$vgpr3 = COPY %vval
|
|
%0:vgpr_32 = COPY $vgpr1_vgpr2
|
|
%1:vgpr_32 = COPY $vgpr0_vgpr1_vgpr2_vgpr3
|
|
...
|