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
72 lines
2.1 KiB
LLVM
72 lines
2.1 KiB
LLVM
; RUN: opt -disable-output -aa-pipeline=basic-aa -passes='loop-mssa(licm),print<memoryssa>' < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK-LABEL: @f(i1 %arg)
|
|
|
|
; CHECK: entry:
|
|
; CHECK-NEXT: %e = alloca i16, align 1
|
|
; CHECK-NEXT:; [[NO1:.*]] = MemoryDef(liveOnEntry)
|
|
; CHECK-NEXT: store i16 undef, ptr %e, align 1
|
|
; CHECK-NEXT: br label %lbl1
|
|
|
|
; CHECK: lbl1:
|
|
; CHECK-NEXT: ; [[NO4:.*]] = MemoryPhi({entry,1},{lbl1.backedge,[[NO2:.*]]})
|
|
; CHECK-NEXT: ; [[NO2]] = MemoryDef([[NO4]])
|
|
; CHECK-NEXT: call void @g()
|
|
; CHECK-NEXT: br i1 %arg, label %for.end, label %if.else
|
|
|
|
; CHECK: for.end:
|
|
; CHECK-NEXT: br i1 %arg, label %lbl3, label %lbl2
|
|
|
|
; CHECK: lbl2:
|
|
; CHECK-NEXT: br label %lbl3
|
|
|
|
; CHECK: lbl3:
|
|
; CHECK-NEXT: br i1 %arg, label %lbl2, label %cleanup
|
|
|
|
; CHECK: cleanup:
|
|
; CHECK-NEXT: MemoryUse([[NO2]])
|
|
; CHECK-NEXT: %cleanup.dest = load i32, ptr undef, align 1
|
|
; CHECK-NEXT: %switch = icmp ult i32 %cleanup.dest, 1
|
|
; CHECK-NEXT: br i1 %switch, label %cleanup.cont, label %lbl1.backedge
|
|
|
|
; CHECK: lbl1.backedge:
|
|
; CHECK-NEXT: br label %lbl1
|
|
|
|
; CHECK: cleanup.cont:
|
|
; CHECK-NEXT: ; [[NO3:.*]] = MemoryDef([[NO2]])
|
|
; CHECK-NEXT: call void @g()
|
|
; CHECK-NEXT: ret void
|
|
define void @f(i1 %arg) {
|
|
entry:
|
|
%e = alloca i16, align 1
|
|
br label %lbl1
|
|
|
|
lbl1: ; preds = %if.else, %cleanup, %entry
|
|
store i16 undef, ptr %e, align 1
|
|
call void @g()
|
|
br i1 %arg, label %for.end, label %if.else
|
|
|
|
for.end: ; preds = %lbl1
|
|
br i1 %arg, label %lbl3, label %lbl2
|
|
|
|
lbl2: ; preds = %lbl3, %for.end
|
|
br label %lbl3
|
|
|
|
lbl3: ; preds = %lbl2, %for.end
|
|
br i1 %arg, label %lbl2, label %cleanup
|
|
|
|
cleanup: ; preds = %lbl3
|
|
%cleanup.dest = load i32, ptr undef, align 1
|
|
%switch = icmp ult i32 %cleanup.dest, 1
|
|
br i1 %switch, label %cleanup.cont, label %lbl1
|
|
|
|
cleanup.cont: ; preds = %cleanup
|
|
call void @g()
|
|
ret void
|
|
|
|
if.else: ; preds = %lbl1
|
|
br label %lbl1
|
|
}
|
|
|
|
declare void @g()
|