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
91 lines
3.3 KiB
YAML
91 lines
3.3 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
|
|
# RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -run-pass=si-pre-emit-peephole %s -o - | FileCheck %s
|
|
# Do no remove S_CBRANCH_EXECZ if the following block contains an unconditional
|
|
# branch to a block other than the one immediately following it.
|
|
|
|
---
|
|
name: test
|
|
body: |
|
|
; CHECK-LABEL: name: test
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: successors: %bb.5(0x40000000), %bb.1(0x40000000)
|
|
; CHECK-NEXT: liveins: $vgpr0, $vgpr1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $sgpr0_sgpr1 = S_MOV_B64 $exec
|
|
; CHECK-NEXT: V_CMPX_EQ_U32_nosdst_e32 0, killed $vgpr0, implicit-def $exec, implicit $exec
|
|
; CHECK-NEXT: S_CBRANCH_EXECZ %bb.5, implicit $exec
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: successors: %bb.2(0x80000000)
|
|
; CHECK-NEXT: liveins: $vgpr1, $sgpr0_sgpr1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $sgpr2_sgpr3 = IMPLICIT_DEF
|
|
; CHECK-NEXT: renamable $sgpr4_sgpr5 = IMPLICIT_DEF
|
|
; CHECK-NEXT: S_BRANCH %bb.2
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: successors: %bb.4(0x40000000), %bb.3(0x40000000)
|
|
; CHECK-NEXT: liveins: $vgpr1, $sgpr0_sgpr1, $sgpr2_sgpr3, $sgpr4_sgpr5
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $exec = S_OR_B64 $exec, killed renamable $sgpr4_sgpr5, implicit-def $scc
|
|
; CHECK-NEXT: S_CBRANCH_EXECZ %bb.4, implicit $exec
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.3:
|
|
; CHECK-NEXT: successors: %bb.1(0x80000000)
|
|
; CHECK-NEXT: liveins: $vgpr1, $sgpr0_sgpr1, $sgpr2_sgpr3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $sgpr4_sgpr5 = IMPLICIT_DEF
|
|
; CHECK-NEXT: S_BRANCH %bb.1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.4:
|
|
; CHECK-NEXT: successors: %bb.5(0x80000000)
|
|
; CHECK-NEXT: liveins: $vgpr1, $sgpr0_sgpr1, $sgpr2_sgpr3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $exec = S_OR_B64 $exec, killed renamable $sgpr2_sgpr3, implicit-def $scc
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.5:
|
|
; CHECK-NEXT: liveins: $vgpr1, $sgpr0_sgpr1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $exec = S_OR_B64 $exec, killed renamable $sgpr0_sgpr1, implicit-def $scc
|
|
; CHECK-NEXT: renamable $vgpr0 = V_CVT_F32_U32_e32 killed $vgpr1, implicit $mode, implicit $exec
|
|
; CHECK-NEXT: SI_RETURN_TO_EPILOG killed $vgpr0
|
|
bb.0:
|
|
liveins: $vgpr0, $vgpr1
|
|
|
|
$sgpr0_sgpr1 = S_MOV_B64 $exec
|
|
V_CMPX_EQ_U32_nosdst_e32 0, killed $vgpr0, implicit-def $exec, implicit $exec
|
|
S_CBRANCH_EXECZ %bb.5, implicit $exec
|
|
|
|
bb.1:
|
|
liveins: $vgpr1, $sgpr0_sgpr1
|
|
|
|
renamable $sgpr2_sgpr3 = IMPLICIT_DEF
|
|
renamable $sgpr4_sgpr5 = IMPLICIT_DEF
|
|
S_BRANCH %bb.2
|
|
|
|
bb.2:
|
|
liveins: $vgpr1, $sgpr0_sgpr1, $sgpr2_sgpr3, $sgpr4_sgpr5
|
|
|
|
$exec = S_OR_B64 $exec, killed renamable $sgpr4_sgpr5, implicit-def $scc
|
|
S_CBRANCH_EXECZ %bb.4, implicit $exec
|
|
|
|
bb.3:
|
|
liveins: $vgpr1, $sgpr0_sgpr1, $sgpr2_sgpr3
|
|
|
|
renamable $sgpr4_sgpr5 = IMPLICIT_DEF
|
|
S_BRANCH %bb.1
|
|
|
|
bb.4:
|
|
liveins: $vgpr1, $sgpr0_sgpr1, $sgpr2_sgpr3
|
|
|
|
$exec = S_OR_B64 $exec, killed renamable $sgpr2_sgpr3, implicit-def $scc
|
|
|
|
bb.5:
|
|
liveins: $vgpr1, $sgpr0_sgpr1
|
|
|
|
$exec = S_OR_B64 $exec, killed renamable $sgpr0_sgpr1, implicit-def $scc
|
|
renamable $vgpr0 = V_CVT_F32_U32_e32 killed $vgpr1, implicit $mode, implicit $exec
|
|
SI_RETURN_TO_EPILOG killed $vgpr0
|
|
|
|
...
|