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
51 lines
1.6 KiB
LLVM
51 lines
1.6 KiB
LLVM
; RUN: opt -passes=gvn-hoist -S < %s | FileCheck %s
|
|
; REQUIRES: asserts
|
|
%struct.job_pool.6.7 = type { i32 }
|
|
|
|
; CHECK-LABEL: @f(i1 %arg)
|
|
define dso_local void @f(i1 %arg) {
|
|
entry:
|
|
br label %for.cond
|
|
|
|
for.cond: ; preds = %for.end, %entry
|
|
br label %for.body
|
|
|
|
for.body: ; preds = %for.cond
|
|
br label %if.end
|
|
|
|
if.then: ; No predecessors!
|
|
br label %if.end
|
|
|
|
if.end: ; preds = %if.then, %for.body
|
|
br i1 false, label %for.body12.lr.ph, label %for.end
|
|
|
|
for.body12.lr.ph: ; preds = %if.end
|
|
br label %for.body12
|
|
|
|
for.body12: ; preds = %if.end40, %for.body12.lr.ph
|
|
br label %if.then23
|
|
|
|
if.then23: ; preds = %for.body12
|
|
br i1 %arg, label %if.then24, label %if.else
|
|
|
|
if.then24: ; preds = %if.then23
|
|
%0 = load ptr, ptr undef, align 8
|
|
br label %if.end40
|
|
|
|
if.else: ; preds = %if.then23
|
|
%1 = load ptr, ptr undef, align 8
|
|
br label %if.end40
|
|
|
|
if.end40: ; preds = %if.else, %if.then24
|
|
br i1 false, label %for.body12, label %for.cond9.for.end_crit_edge
|
|
|
|
for.cond9.for.end_crit_edge: ; preds = %if.end40
|
|
br label %for.end
|
|
|
|
for.end: ; preds = %for.cond9.for.end_crit_edge, %if.end
|
|
br i1 true, label %if.then45, label %for.cond
|
|
|
|
if.then45: ; preds = %for.end
|
|
ret void
|
|
}
|