Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

61 lines
2.1 KiB
YAML

# RUN: llc -mtriple powerpc64le-unknown-linux-gnu -run-pass=ppc-early-ret -o \
# RUN: - %s -verify-machineinstrs | FileCheck %s
---
name: testEarlyRet
body: |
bb.0.entry:
successors: %bb.4(0x40000000), %bb.1(0x40000000)
BC undef renamable $cr5lt, %bb.4
bb.1:
successors: %bb.2(0x80000000)
renamable $r3 = IMPLICIT_DEF
renamable $r4 = IMPLICIT_DEF
bb.2:
successors: %bb.3(0x80000000)
liveins: $r3, $r4
$r5 = OR $r4, $r4
renamable $r4 = ADDIC killed $r4, 1, implicit-def $carry
$r6 = OR $r3, $r3
renamable $r3 = ADDZE killed $r3, implicit-def dead $carry, implicit killed $carry
renamable $cr0 = CMPLW renamable $r3, killed renamable $r6
renamable $cr5lt = CRANDC renamable $cr0lt, renamable $cr0eq
renamable $cr1 = CMPLW renamable $r4, killed renamable $r5
BCLR killed renamable $cr5lt, implicit $lr, implicit $rm
bb.3:
successors: %bb.4(0x02082082), %bb.2(0x7df7df7e)
liveins: $cr0, $cr1, $r3, $r4
renamable $cr5lt = CRAND killed renamable $cr0eq, killed renamable $cr1lt, implicit $cr1, implicit $cr0
BCn killed renamable $cr5lt, %bb.2
bb.4:
BLR implicit $lr, implicit $rm
; CHECK-LABEL: testEarlyRet
; CHECK: bb.0.entry:
; CHECK: BCLR undef renamable $cr5lt, implicit $lr, implicit $rm
; CHECK: bb.1:
; CHECK: renamable $r3 = IMPLICIT_DEF
; CHECK: renamable $r4 = IMPLICIT_DEF
; CHECK: bb.2:
; CHECK: $r5 = OR $r4, $r4
; CHECK: renamable $r4 = ADDIC killed $r4, 1, implicit-def $carry
; CHECK: $r6 = OR $r3, $r3
; CHECK: renamable $r3 = ADDZE killed $r3, implicit-def dead $carry, implicit killed $carry
; CHECK: renamable $cr0 = CMPLW renamable $r3, killed renamable $r6
; CHECK: renamable $cr5lt = CRANDC renamable $cr0lt, renamable $cr0eq
; CHECK: renamable $cr1 = CMPLW renamable $r4, killed renamable $r5
; CHECK: BCLR killed renamable $cr5lt, implicit $lr, implicit $rm
; CHECK: bb.3:
; CHECK: renamable $cr5lt = CRAND killed renamable $cr0eq, killed renamable $cr1lt, implicit $cr1, implicit $cr0
; CHECK: BCn killed renamable $cr5lt, %bb.2
; CHECK: BLR implicit $lr, implicit $rm
...