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
34 lines
1002 B
LLVM
34 lines
1002 B
LLVM
; RUN: opt < %s -passes='print<loop-cache-cost>' -disable-output
|
|
|
|
; Ensure no crash happens after PR #164798
|
|
|
|
target datalayout = "p21:32:16"
|
|
|
|
define i16 @f() {
|
|
entry:
|
|
br label %for.cond1.preheader
|
|
|
|
for.cond1.preheader:
|
|
%i.02 = phi i16 [ 0, %entry ], [ %inc8, %for.cond.cleanup3 ]
|
|
%idxprom = zext i16 %i.02 to i32
|
|
%arrayidx = getelementptr [18 x i16], ptr addrspace(21) null, i32 %idxprom
|
|
br label %for.body4
|
|
|
|
for.cond.cleanup:
|
|
ret i16 0
|
|
|
|
for.cond.cleanup3:
|
|
%inc8 = add i16 %i.02, 1
|
|
%exitcond3.not = icmp eq i16 %inc8, 0
|
|
br i1 %exitcond3.not, label %for.cond.cleanup, label %for.cond1.preheader
|
|
|
|
for.body4:
|
|
%j.01 = phi i16 [ 0, %for.cond1.preheader ], [ %inc.2, %for.body4 ]
|
|
%idxprom5 = zext i16 %j.01 to i32
|
|
%arrayidx6 = getelementptr i16, ptr addrspace(21) %arrayidx, i32 %idxprom5
|
|
store i16 0, ptr addrspace(21) %arrayidx6, align 1
|
|
%inc.2 = add i16 %j.01, 1
|
|
%exitcond.not.2 = icmp eq i16 %inc.2, 18
|
|
br i1 %exitcond.not.2, label %for.cond.cleanup3, label %for.body4
|
|
}
|