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
33 lines
1.2 KiB
LLVM
33 lines
1.2 KiB
LLVM
; RUN: llvm-extract -S --bb=func:bb4 -aggregate-extracted-args=0 < %s | FileCheck %s
|
|
|
|
; FIXME: aggregate-extracted-args doesn't work for other reasons
|
|
; XUN: llvm-extract -S --bb=func:bb4 -aggregate-extracted-args=1 < %s | FileCheck %s
|
|
|
|
target datalayout = "A5-G1-ni:7"
|
|
|
|
; Check that there's no assert from incorrect pointer types used in the new arguments.
|
|
|
|
; CHECK-LABEL: define dso_local void @func.bb4(i32 %orig.arg.0, ptr addrspace(5) %tmp1.out, ptr addrspace(5) %add.out) {
|
|
; CHECK: bb4:
|
|
; CHECK-NEXT: %tmp0 = add i32 0, 0
|
|
; CHECK-NEXT: %tmp1 = add i32 1, 1
|
|
; CHECK-NEXT: store i32 %tmp1, ptr addrspace(5) %tmp1.out, align 4
|
|
; CHECK-NEXT: %add = add i32 %tmp0, %orig.arg.0
|
|
; CHECK-NEXT: store i32 %add, ptr addrspace(5) %add.out, align 4
|
|
; CHECK-NEXT: br label %bb5.exitStub
|
|
define void @func(i32 %orig.arg.0, ptr addrspace(1) %orig.arg.1) {
|
|
bb:
|
|
br label %bb4
|
|
|
|
bb4: ; preds = %bb
|
|
%tmp0 = add i32 0, 0
|
|
%tmp1 = add i32 1, 1
|
|
%add = add i32 %tmp0, %orig.arg.0
|
|
br label %bb5
|
|
|
|
bb5: ; preds = %bb5, %bb4
|
|
%tmp6 = phi i32 [ %add, %bb4 ], [ 0, %bb5 ]
|
|
%tmp7 = phi i32 [ %tmp1, %bb4 ], [ 2, %bb5 ]
|
|
br label %bb5
|
|
}
|