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

60 lines
2.2 KiB
LLVM

; RUN: llc -mtriple=hexagon < %s
; RUN: llc -mtriple=hexagon -disable-hcp < %s
; REQUIRES: asserts
target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32"
target triple = "hexagon-unknown--elf"
%struct.item = type { i32, ptr, ptr, i32, i8, i8, i16, i32, i8, i16, i32 }
declare ptr @foo(ptr, ptr, i32) #1
; Function Attrs: nounwind
define i32 @bar(ptr %ptr, ptr %buf, i32 %c, ptr %d, i32 %e) #1 {
entry:
br i1 undef, label %return, label %if.end
if.end: ; preds = %entry
br i1 undef, label %while.cond13.preheader, label %if.end3
if.end3: ; preds = %if.end
br label %while.cond13.preheader
while.cond13.preheader: ; preds = %if.end3, %if.end
br i1 undef, label %while.body20, label %return
while.body20: ; preds = %if.end38, %while.cond13.preheader
%addr.0100 = phi i32 [ undef, %if.end38 ], [ %c, %while.cond13.preheader ]
%cond = select i1 undef, i32 %addr.0100, i32 undef
br i1 undef, label %while.body20.if.end38_crit_edge, label %if.then32
while.body20.if.end38_crit_edge: ; preds = %while.body20
%conv39.pre = and i32 %cond, 65535
br label %if.end38
if.then32: ; preds = %while.body20
%conv33 = and i32 %cond, 65535
%.pre = load ptr, ptr %ptr, align 4, !tbaa !1
br label %if.end38
if.end38: ; preds = %if.then32, %while.body20.if.end38_crit_edge
%conv39.pre-phi = phi i32 [ %conv39.pre, %while.body20.if.end38_crit_edge ], [ %conv33, %if.then32 ]
%0 = phi ptr [ undef, %while.body20.if.end38_crit_edge ], [ %.pre, %if.then32 ]
%add = add i32 %conv39.pre-phi, 0
%call52 = tail call ptr @foo(ptr %0, ptr %d, i32 %e) #1
br i1 undef, label %while.body20, label %return
return: ; preds = %if.end38, %while.cond13.preheader, %entry
%retval.0 = phi i32 [ 0, %entry ], [ 0, %while.cond13.preheader ], [ %add, %if.end38 ]
ret i32 %retval.0
}
attributes #0 = { nounwind readonly }
attributes #1 = { nounwind }
!1 = !{!2, !2, i64 0}
!2 = !{!"any pointer", !3, i64 0}
!3 = !{!"omnipotent char", !4, i64 0}
!4 = !{!"Simple C/C++ TBAA"}