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

60 lines
2.1 KiB
LLVM

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
; RUN: opt -passes=move-auto-init -S < %s | FileCheck %s
define i8 @test_no_update(i32 %a, i32 %b) {
; CHECK-LABEL: define i8 @test_no_update
; CHECK-SAME: (i32 [[A:%.*]], i32 [[B:%.*]]) {
; CHECK-NEXT: lbl_653:
; CHECK-NEXT: [[L_580:%.*]] = alloca i32, align 4
; CHECK-NEXT: store i32 1, ptr [[L_580]], align 4
; CHECK-NEXT: br i1 true, label [[LBL_629:%.*]], label [[IF_THEN:%.*]]
; CHECK: if.then:
; CHECK-NEXT: br label [[IF_END:%.*]]
; CHECK: lbl_629:
; CHECK-NEXT: br label [[IF_END]]
; CHECK: if.end:
; CHECK-NEXT: [[TMP0:%.*]] = load i32, ptr [[L_580]], align 4
; CHECK-NEXT: [[TOBOOL223_NOT:%.*]] = icmp eq i32 [[TMP0]], 0
; CHECK-NEXT: br i1 [[TOBOOL223_NOT]], label [[LOR_RHS224:%.*]], label [[LOR_END230:%.*]]
; CHECK: lor.rhs224:
; CHECK-NEXT: [[TMP:%.*]] = alloca i8, align 1
; CHECK-NEXT: store i8 0, ptr [[TMP]], align 1
; CHECK-NEXT: br label [[LOR_END230]]
; CHECK: lor.end230:
; CHECK-NEXT: br i1 true, label [[FOR_INC456_1:%.*]], label [[LBL_629]]
; CHECK: for.inc456.1:
; CHECK-NEXT: ret i8 0
;
lbl_653:
%l_580 = alloca i32, align 4
store i32 1, ptr %l_580, align 4, !annotation !0
br i1 true, label %lbl_629, label %if.then
if.then: ; preds = %lbl_653
br label %if.end
lbl_629: ; preds = %lor.end230, %lbl_653
br label %if.end
if.end: ; preds = %lbl_629, %if.then
%0 = load i32, ptr %l_580, align 4
%tobool223.not = icmp eq i32 %0, 0
br i1 %tobool223.not, label %lor.rhs224, label %lor.end230
lor.rhs224: ; preds = %if.end
%tmp = alloca i8, align 1
store i8 0, ptr %tmp, align 1
br label %lor.end230
lor.end230: ; preds = %lor.rhs224, %if.end
br i1 true, label %for.inc456.1, label %lbl_629
for.inc456.1: ; preds = %lor.end230
ret i8 0
}
!0 = !{!"auto-init"}