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
44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
|
|
|
|
# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=liveintervals,virtregmap,si-lower-wwm-copies -o - %s | FileCheck %s
|
|
# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -passes="require<live-intervals>,require<virtregmap>,si-lower-wwm-copies" -o - %s | FileCheck %s
|
|
|
|
# Check for two cases of $scc being live and dead.
|
|
---
|
|
name: lower-wwm-copies
|
|
registers:
|
|
- { id: 1, class: vgpr_32, flags: [ WWM_REG ]}
|
|
machineFunctionInfo:
|
|
sgprForEXECCopy: '$sgpr2_sgpr3'
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: lower-wwm-copies
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: successors: %bb.1(0x80000000)
|
|
; CHECK-NEXT: liveins: $vgpr0, $scc
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $sgpr0 = IMPLICIT_DEF
|
|
; CHECK-NEXT: S_CMP_EQ_U32 $sgpr0, 0, implicit-def $scc
|
|
; CHECK-NEXT: $sgpr2_sgpr3 = S_MOV_B64 killed $exec
|
|
; CHECK-NEXT: $exec = S_MOV_B64 -1
|
|
; CHECK-NEXT: $vgpr1 = COPY $vgpr0
|
|
; CHECK-NEXT: $exec = S_MOV_B64 killed $sgpr2_sgpr3
|
|
; CHECK-NEXT: S_CBRANCH_SCC1 %bb.1, implicit $scc
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: liveins: $vgpr1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $sgpr2_sgpr3 = S_OR_SAVEEXEC_B64 -1, implicit-def $exec, implicit-def dead $scc, implicit $exec
|
|
; CHECK-NEXT: $vgpr2 = COPY $vgpr1
|
|
; CHECK-NEXT: $exec = S_MOV_B64 killed $sgpr2_sgpr3
|
|
bb.0:
|
|
liveins: $vgpr0, $scc
|
|
$sgpr0 = IMPLICIT_DEF
|
|
S_CMP_EQ_U32 $sgpr0, 0, implicit-def $scc
|
|
$vgpr1 = WWM_COPY $vgpr0
|
|
S_CBRANCH_SCC1 %bb.1, implicit killed $scc
|
|
|
|
bb.1:
|
|
liveins: $vgpr1
|
|
$vgpr2 = WWM_COPY $vgpr1
|