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.6 KiB
LLVM
45 lines
1.6 KiB
LLVM
; RUN: opt < %s -passes=gvn -S | FileCheck %s
|
|
|
|
%struct..0anon = type { i32 }
|
|
%struct.FILE = type { ptr, i32, i32, i16, i16, %struct.__sbuf, i32, ptr, ptr, ptr, ptr, ptr, %struct.__sbuf, ptr, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
|
|
%struct.__sFILEX = type opaque
|
|
%struct.__sbuf = type { ptr, i32 }
|
|
%struct.rtx_def = type { i16, i8, i8, [1 x %struct..0anon] }
|
|
@n_spills = external global i32 ; <ptr> [#uses=2]
|
|
|
|
define i32 @reload(ptr %first, i32 %global, ptr %dumpfile) {
|
|
cond_next2835.1: ; preds = %cond_next2861
|
|
%tmp2922 = load i32, ptr @n_spills, align 4 ; <i32> [#uses=0]
|
|
br label %bb2928
|
|
|
|
bb2928: ; preds = %cond_next2835.1, %cond_next2943
|
|
br i1 false, label %cond_next2943, label %cond_true2935
|
|
|
|
cond_true2935: ; preds = %bb2928
|
|
br label %cond_next2943
|
|
|
|
cond_next2943: ; preds = %cond_true2935, %bb2928
|
|
br i1 false, label %bb2982.preheader, label %bb2928
|
|
|
|
bb2982.preheader: ; preds = %cond_next2943
|
|
%tmp298316 = load i32, ptr @n_spills, align 4 ; <i32> [#uses=0]
|
|
ret i32 %tmp298316
|
|
|
|
}
|
|
|
|
; CHECK: define i32 @reload(ptr %first, i32 %global, ptr %dumpfile) {
|
|
; CHECK-NEXT: cond_next2835.1:
|
|
; CHECK-NEXT: br label %bb2928
|
|
; CHECK: bb2928:
|
|
; CHECK-NEXT: br i1 false, label %bb2928.cond_next2943_crit_edge, label %cond_true2935
|
|
; CHECK: bb2928.cond_next2943_crit_edge:
|
|
; CHECK-NEXT: br label %cond_next2943
|
|
; CHECK: cond_true2935:
|
|
; CHECK-NEXT: br label %cond_next2943
|
|
; CHECK: cond_next2943:
|
|
; CHECK-NEXT: br i1 false, label %bb2982.preheader, label %bb2928
|
|
; CHECK: bb2982.preheader:
|
|
; CHECK-NEXT: %tmp298316 = load i32, ptr @n_spills, align 4
|
|
; CHECK-NEXT: ret i32 %tmp298316
|
|
; CHECK-NEXT: }
|