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
65 lines
2.2 KiB
YAML
65 lines
2.2 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
|
|
# RUN: llc -start-before=greedy -stop-after=virtregrewriter -o - %s | FileCheck %s
|
|
--- |
|
|
target triple = "aarch64"
|
|
|
|
define aarch64_sve_vector_pcs void @regalloc_hint_cmp_dont_introduce_csr_spill() #0 { unreachable }
|
|
define aarch64_sve_vector_pcs void @regalloc_hint_cmp_reuse_p4() #0 { unreachable }
|
|
|
|
attributes #0 = { "target-features"="+sve" }
|
|
...
|
|
|
|
# When suggesting a regalloc hint to choose a distinct destination register for %0,
|
|
# avoid using a callee-save register as that will require a spill/fill.
|
|
---
|
|
name: regalloc_hint_cmp_dont_introduce_csr_spill
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $z0, $z1, $p0, $p1, $p2, $p3
|
|
|
|
; CHECK-LABEL: name: regalloc_hint_cmp_dont_introduce_csr_spill
|
|
; CHECK: liveins: $p0, $p1, $p2, $p3, $x0, $z0, $z1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $p0 = CMPEQ_PPzZZ_B $p0, $z0, $z1, implicit-def dead $nzcv
|
|
; CHECK-NEXT: FAKE_USE $p1
|
|
; CHECK-NEXT: FAKE_USE $p2
|
|
; CHECK-NEXT: FAKE_USE $p3
|
|
; CHECK-NEXT: ST1B_IMM $z0, killed renamable $p0, $x0, 0
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
%0:ppr_3b = CMPEQ_PPzZZ_B $p0, $z0, $z1, implicit-def dead $nzcv
|
|
FAKE_USE $p1
|
|
FAKE_USE $p2
|
|
FAKE_USE $p3
|
|
ST1B_IMM $z0, %0, $x0, 0
|
|
RET_ReallyLR
|
|
...
|
|
|
|
# For this test, the register allocator can safely reuse $p4 because it was already clobbered
|
|
# for other purposes.
|
|
---
|
|
name: regalloc_hint_cmp_reuse_p4
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $z0, $z1, $p0, $p1, $p2, $p3
|
|
|
|
; CHECK-LABEL: name: regalloc_hint_cmp_reuse_p4
|
|
; CHECK: liveins: $p0, $p1, $p2, $p3, $x0, $z0, $z1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $p4 = IMPLICIT_DEF
|
|
; CHECK-NEXT: renamable $p4 = CMPEQ_PPzZZ_B $p0, $z0, $z1, implicit-def dead $nzcv
|
|
; CHECK-NEXT: FAKE_USE $p1
|
|
; CHECK-NEXT: FAKE_USE $p2
|
|
; CHECK-NEXT: FAKE_USE $p3
|
|
; CHECK-NEXT: ST1B_IMM $z0, killed renamable $p4, $x0, 0
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
$p4 = IMPLICIT_DEF
|
|
%0:ppr_3b = CMPEQ_PPzZZ_B $p0, $z0, $z1, implicit-def dead $nzcv
|
|
FAKE_USE $p1
|
|
FAKE_USE $p2
|
|
FAKE_USE $p3
|
|
ST1B_IMM $z0, %0, $x0, 0
|
|
RET_ReallyLR
|
|
...
|