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
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
|
|
|
|
# Ensure processing an IMPLICIT_DEF of a physreg updates all uses
|
|
# before removing the IMPLICIT_DEF. -verify-machineinstrs will
|
|
# fail otherwise.
|
|
|
|
# RUN: llc -mtriple=amdgcn -mcpu=gfx802 -run-pass processimpdefs -asm-verbose=0 -verify-machineinstrs %s -o - | FileCheck %s
|
|
|
|
---
|
|
|
|
name: implicit_def_multiple_use
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
; CHECK-LABEL: name: implicit_def_multiple_use
|
|
; CHECK: $vgpr1_lo16 = COPY undef $vgpr0_hi16
|
|
; CHECK-NEXT: $vgpr1_hi16 = COPY undef $vgpr0_lo16
|
|
; CHECK-NEXT: S_ENDPGM 0
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_hi16
|
|
$vgpr1_hi16 = COPY $vgpr0_lo16
|
|
S_ENDPGM 0
|
|
...
|
|
|
|
# IMPLICIT_DEF processing Will not search across basic-blocks for uses. IMPLICIT_DEF must not be deleted.
|
|
---
|
|
|
|
name: implicit_def_cannot_find_all_uses
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: implicit_def_cannot_find_all_uses
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: successors: %bb.0(0x40000000), %bb.1(0x40000000)
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $vgpr0 = IMPLICIT_DEF
|
|
; CHECK-NEXT: $vgpr1_lo16 = COPY undef $vgpr0_hi16
|
|
; CHECK-NEXT: $vgpr1_hi16 = COPY undef $vgpr0_lo16
|
|
; CHECK-NEXT: $scc = IMPLICIT_DEF
|
|
; CHECK-NEXT: S_CBRANCH_SCC1 %bb.0, implicit undef $scc
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
bb.0:
|
|
$vgpr0 = IMPLICIT_DEF
|
|
$vgpr1_lo16 = COPY $vgpr0_hi16
|
|
$vgpr1_hi16 = COPY $vgpr0_lo16
|
|
$scc = IMPLICIT_DEF
|
|
S_CBRANCH_SCC1 %bb.0, implicit $scc
|
|
bb.1:
|
|
...
|