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
63 lines
2.0 KiB
LLVM
63 lines
2.0 KiB
LLVM
; RUN: opt < %s -passes=mem2reg -disable-output
|
|
; PR670
|
|
|
|
define void @printk(i32, ...) {
|
|
entry:
|
|
%flags = alloca i32 ; <ptr> [#uses=2]
|
|
br i1 false, label %then.0, label %endif.0
|
|
then.0: ; preds = %entry
|
|
br label %endif.0
|
|
endif.0: ; preds = %then.0, %entry
|
|
store i32 0, ptr %flags
|
|
br label %loopentry
|
|
loopentry: ; preds = %endif.3, %endif.0
|
|
br i1 false, label %no_exit, label %loopexit
|
|
no_exit: ; preds = %loopentry
|
|
br i1 false, label %then.1, label %endif.1
|
|
then.1: ; preds = %no_exit
|
|
br i1 false, label %shortcirc_done.0, label %shortcirc_next.0
|
|
shortcirc_next.0: ; preds = %then.1
|
|
br label %shortcirc_done.0
|
|
shortcirc_done.0: ; preds = %shortcirc_next.0, %then.1
|
|
br i1 false, label %shortcirc_done.1, label %shortcirc_next.1
|
|
shortcirc_next.1: ; preds = %shortcirc_done.0
|
|
br label %shortcirc_done.1
|
|
shortcirc_done.1: ; preds = %shortcirc_next.1, %shortcirc_done.0
|
|
br i1 false, label %shortcirc_done.2, label %shortcirc_next.2
|
|
shortcirc_next.2: ; preds = %shortcirc_done.1
|
|
br label %shortcirc_done.2
|
|
shortcirc_done.2: ; preds = %shortcirc_next.2, %shortcirc_done.1
|
|
br i1 false, label %then.2, label %endif.2
|
|
then.2: ; preds = %shortcirc_done.2
|
|
br label %endif.2
|
|
endif.2: ; preds = %then.2, %shortcirc_done.2
|
|
br label %endif.1
|
|
endif.1: ; preds = %endif.2, %no_exit
|
|
br i1 false, label %then.3, label %endif.3
|
|
then.3: ; preds = %endif.1
|
|
br label %endif.3
|
|
endif.3: ; preds = %then.3, %endif.1
|
|
br label %loopentry
|
|
loopexit: ; preds = %loopentry
|
|
br label %endif.4
|
|
then.4: ; No predecessors!
|
|
%tmp.61 = load i32, ptr %flags ; <i32> [#uses=0]
|
|
br label %out
|
|
dead_block_after_goto: ; No predecessors!
|
|
br label %endif.4
|
|
endif.4: ; preds = %dead_block_after_goto, %loopexit
|
|
br i1 false, label %then.5, label %else
|
|
then.5: ; preds = %endif.4
|
|
br label %endif.5
|
|
else: ; preds = %endif.4
|
|
br label %endif.5
|
|
endif.5: ; preds = %else, %then.5
|
|
br label %out
|
|
out: ; preds = %endif.5, %then.4
|
|
br label %return
|
|
after_ret: ; No predecessors!
|
|
br label %return
|
|
return: ; preds = %after_ret, %out
|
|
ret void
|
|
}
|