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
55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -mtriple=aarch64-- -run-pass=early-ifcvt -stress-early-ifcvt %s -o - -verify-machineinstrs | FileCheck %s
|
|
|
|
# Test that "killed" flag on the same virtual register in merged blocks is
|
|
# removed for the first spliced block and is saved for the second one.
|
|
# Otherwise, register will be killed twice in a single block in the resulting
|
|
# MIR, which is incorrect.
|
|
|
|
---
|
|
name: my_func
|
|
tracksRegLiveness: true
|
|
liveins:
|
|
- { reg: '$w0', virtual-reg: '%0' }
|
|
body: |
|
|
; CHECK-LABEL: name: my_func
|
|
; CHECK: bb.0.entry:
|
|
; CHECK-NEXT: liveins: $w0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr32common = COPY $w0
|
|
; CHECK-NEXT: [[COPY1:%[0-9]+]]:gpr64common = COPY $x0
|
|
; CHECK-NEXT: [[SUBSWri:%[0-9]+]]:gpr32 = SUBSWri [[COPY]], 1, 0, implicit-def $nzcv
|
|
; CHECK-NEXT: [[ADDWri:%[0-9]+]]:gpr32common = ADDWri [[COPY]], 3, 0
|
|
; CHECK-NEXT: [[SUBWri:%[0-9]+]]:gpr32common = SUBWri killed [[COPY]], 2, 0
|
|
; CHECK-NEXT: [[CSELWr:%[0-9]+]]:gpr32common = CSELWr [[ADDWri]], [[SUBWri]], 1, implicit $nzcv
|
|
; CHECK-NEXT: $x2 = COPY [[COPY1]]
|
|
; CHECK-NEXT: RET_ReallyLR implicit $x2
|
|
bb.0.entry:
|
|
successors: %bb.1, %bb.2
|
|
liveins: $w0
|
|
|
|
%0:gpr32common = COPY $w0
|
|
%1:gpr64common = COPY $x0
|
|
%2:gpr32 = SUBSWri %0, 1, 0, implicit-def $nzcv
|
|
Bcc 1, %bb.2, implicit $nzcv
|
|
B %bb.1
|
|
|
|
bb.1:
|
|
successors: %bb.3
|
|
|
|
%3:gpr32common = SUBWri killed %0, 2, 0
|
|
B %bb.3
|
|
|
|
bb.2:
|
|
successors: %bb.3
|
|
|
|
%4:gpr32common = ADDWri killed %0, 3, 0
|
|
B %bb.3
|
|
|
|
bb.3:
|
|
%5:gpr32common = PHI %3, %bb.1, %4, %bb.2
|
|
$x2 = COPY %1
|
|
RET_ReallyLR implicit $x2
|
|
|
|
...
|