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
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# RUN: llc -mtriple=hexagon -run-pass postra-machine-sink,postrapseudos,if-converter -verify-machineinstrs -o - %s | FileCheck %s
|
|
|
|
# 1. Post-RA machine sinking moves the copy (1) to block %bb.1. The
|
|
# subregisters $r2 and $r3 of $d1 are not removed from the live-ins.
|
|
# 2. Expand post-RA pseudos replaces the COPY with A2_tfrp which is
|
|
# predicable.
|
|
# 3. If-conversion predicates block %bb.1. Since $d1 (made of $r2 and $r3)
|
|
# is in the live-in list to %bb.1, it assumes that $d1 in (1) is live,
|
|
# and adds an implicit use of $d1 to the predicated copy.
|
|
# This results in an invalid machine code, since the implicit use
|
|
# refers to an undefined register.
|
|
|
|
# Make sure that post-RA machine sinking removes subregisters from live-ins
|
|
# to block bb.1.
|
|
|
|
# CHECK: $d1 = A2_tfrpf $p0, $d0
|
|
# CHECK-NOT: implicit killed $d1
|
|
|
|
name: fred
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $p0
|
|
renamable $d1 = COPY $d0 ;; (1)
|
|
J2_jumpt $p0, %bb.2, implicit-def $pc
|
|
bb.1:
|
|
liveins: $r2, $r3
|
|
$r0 = A2_addi $r2, 1
|
|
bb.2:
|
|
liveins: $r0
|
|
A2_nop
|
|
J2_jumpr $r31, implicit-def $pc
|
|
...
|