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
45 lines
1.2 KiB
LLVM
45 lines
1.2 KiB
LLVM
; RUN: opt %loadNPMPolly '-passes=polly<no-default-opts>' -S < %s | FileCheck %s
|
|
;
|
|
; llvm.org/PR25439
|
|
; Scalar reloads in the generated entering block were not recognized as
|
|
; dominating the subregion blocks when there were multiple entering nodes. This
|
|
; resulted in values defined in there (here: %cond used in subregionB_entry) not
|
|
; being copied. We check whether it is reusing the reloaded scalar.
|
|
;
|
|
; CHECK-LABEL: polly.stmt.subregionB_entry.exit:
|
|
; CHECK: store i1 %polly.cond, ptr %cond.s2a
|
|
;
|
|
; CHECK-LABEL: polly.stmt.subregionB_entry.entry:
|
|
; CHECK: %cond.s2a.reload = load i1, ptr %cond.s2a
|
|
;
|
|
; CHECK-LABEL: polly.stmt.subregionB_entry:
|
|
; CHECK: br i1 %cond.s2a.reload
|
|
|
|
define void @func(ptr %A) {
|
|
entry:
|
|
br label %subregionA_entry
|
|
|
|
subregionA_entry:
|
|
%cond = phi i1 [ false, %entry ], [ true, %subregionB_exit ]
|
|
br i1 %cond, label %subregionA_if, label %subregionA_else
|
|
|
|
subregionA_if:
|
|
br label %subregionB_entry
|
|
|
|
subregionA_else:
|
|
br label %subregionB_entry
|
|
|
|
subregionB_entry:
|
|
store i32 0, ptr %A
|
|
br i1 %cond, label %subregionB_if, label %subregionB_exit
|
|
|
|
subregionB_if:
|
|
br label %subregionB_exit
|
|
|
|
subregionB_exit:
|
|
br i1 false, label %subregionA_entry, label %return
|
|
|
|
return:
|
|
ret void
|
|
}
|