Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

59 lines
2.0 KiB
LLVM

; RUN: opt -S -passes=consthoist < %s | FileCheck %s
target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-windows-msvc"
define internal fastcc void @baz(ptr %arg) unnamed_addr personality ptr @wobble {
; CHECK-LABEL: @baz
bb:
%tmp = invoke noalias dereferenceable(40) ptr @wibble.2(i64 40)
to label %bb6 unwind label %bb1
bb1: ; preds = %bb
; CHECK: bb1:
; CHECK-NEXT: %tmp2 = catchswitch within none [label %bb3] unwind label %bb16
%tmp2 = catchswitch within none [label %bb3] unwind label %bb16
bb3: ; preds = %bb1
%tmp4 = catchpad within %tmp2 [ptr null, i32 64, ptr null]
invoke void @spam(ptr null) [ "funclet"(token %tmp4) ]
to label %bb5 unwind label %bb16
bb5: ; preds = %bb3
unreachable
bb6: ; preds = %bb
%tmp7 = icmp eq ptr %arg, null
br label %bb9
bb9: ; preds = %bb8, %bb6
%tmp10 = inttoptr i64 -6148914691236517376 to ptr
%tmp11 = invoke noalias dereferenceable(40) ptr @wibble.2(i64 40)
to label %bb15 unwind label %bb12
bb12: ; preds = %bb9
%tmp13 = cleanuppad within none []
br label %bb14
bb14: ; preds = %bb12
cleanupret from %tmp13 unwind label %bb16
bb15: ; preds = %bb9
ret void
bb16: ; preds = %bb14, %bb3, %bb1
%tmp17 = phi ptr [ inttoptr (i64 -6148914691236517376 to ptr), %bb1 ], [ inttoptr (i64 -6148914691236517376 to ptr), %bb3 ], [ %tmp10, %bb14 ]
%tmp18 = cleanuppad within none []
br label %bb19
bb19: ; preds = %bb16
cleanupret from %tmp18 unwind to caller
}
declare ptr @wibble.2(i64)
declare dso_local void @spam(ptr) local_unnamed_addr
declare i32 @wobble(...)