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

53 lines
1.7 KiB
LLVM

; RUN: llc -mtriple=hexagon -enable-pipeliner -hexagon-initial-cfg-cleanup=0 -stats -o /dev/null < %s 2>&1 -pipeliner-experimental-cg=true -disable-cgp-delete-phis | FileCheck %s --check-prefix=STATS
; REQUIRES: asserts
; Check that we handle the case when a value is first defined in the loop.
; STATS: 1 pipeliner - Number of loops software pipelined
; Function Attrs: nounwind
define fastcc void @f0() #0 {
b0:
br i1 undef, label %b7, label %b1
b1: ; preds = %b0
br i1 undef, label %b2, label %b4
b2: ; preds = %b1
%v0 = load i16, ptr undef, align 2
%v1 = load i16, ptr undef, align 2
br i1 undef, label %b5, label %b3
b3: ; preds = %b5, %b2
%v2 = phi i16 [ 0, %b2 ], [ %v14, %b5 ]
br label %b4
b4: ; preds = %b3, %b1
br i1 undef, label %b7, label %b6
b5: ; preds = %b5, %b2
%v3 = phi i16 [ %v5, %b5 ], [ undef, %b2 ]
%v4 = phi i16 [ 0, %b5 ], [ %v1, %b2 ]
%v5 = phi i16 [ 0, %b5 ], [ %v0, %b2 ]
%v6 = phi i16 [ %v4, %b5 ], [ undef, %b2 ]
%v7 = phi i16 [ %v14, %b5 ], [ 0, %b2 ]
%v8 = phi i32 [ %v15, %b5 ], [ undef, %b2 ]
%v9 = or i16 0, %v7
%v10 = lshr i16 %v3, 8
%v11 = lshr i16 %v6, 8
%v12 = or i16 %v11, %v9
%v13 = or i16 0, %v12
%v14 = or i16 %v10, %v13
%v15 = add nsw i32 %v8, -32
%v16 = icmp sgt i32 %v15, 31
br i1 %v16, label %b5, label %b3
b6: ; preds = %b4
br label %b7
b7: ; preds = %b6, %b4, %b0
ret void
}
attributes #0 = { nounwind "target-cpu"="hexagonv55" }