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
58 lines
1.8 KiB
LLVM
58 lines
1.8 KiB
LLVM
; RUN: llc < %s -mtriple=amdgcn -mcpu=verde | FileCheck --check-prefix=GCN %s
|
|
; RUN: llc < %s -mtriple=amdgcn -mcpu=tonga | FileCheck --check-prefix=GCN %s
|
|
|
|
; GCN-LABEL: {{^}}icmp_2_users:
|
|
; GCN: s_cmp_lt_i32 s{{[0-9]+}}, 1
|
|
; GCN: s_cbranch_scc1 [[LABEL:.LBB[0-9_A-Z]+]]
|
|
; GCN: [[LABEL]]:
|
|
; GCN-NEXT: s_endpgm
|
|
define amdgpu_kernel void @icmp_2_users(ptr addrspace(1) %out, i32 %cond) {
|
|
main_body:
|
|
%0 = icmp sgt i32 %cond, 0
|
|
%1 = sext i1 %0 to i32
|
|
br i1 %0, label %IF, label %ENDIF
|
|
|
|
IF:
|
|
store i32 %1, ptr addrspace(1) %out
|
|
br label %ENDIF
|
|
|
|
ENDIF: ; preds = %IF, %main_body
|
|
ret void
|
|
}
|
|
|
|
; GCN-LABEL: {{^}}fix_sgpr_live_ranges_crash:
|
|
; GCN: s_cbranch_scc1 [[BB0:.L[A-Z0-9_]+]]
|
|
; GCN: {{^}}[[LOOP:.L[A-Z0-9_]+]]:
|
|
; GCN: s_cbranch_scc1 [[LOOP]]
|
|
; GCN: {{^}}[[BB0]]:
|
|
define amdgpu_kernel void @fix_sgpr_live_ranges_crash(i32 %arg, i32 %arg1, i1 %c0) {
|
|
bb:
|
|
%cnd = trunc i32 %arg to i1
|
|
br i1 %cnd, label %bb2, label %bb5
|
|
|
|
bb2: ; preds = %bb
|
|
%tmp = mul i32 10, %arg1
|
|
br label %bb3
|
|
|
|
bb3: ; preds = %bb3, %bb2
|
|
%val = load volatile i32, ptr addrspace(4) poison
|
|
%tmp4 = icmp eq i32 %val, %arg1
|
|
br i1 %tmp4, label %bb5, label %bb3
|
|
|
|
bb5: ; preds = %bb3, %bb
|
|
%tmp6 = tail call i32 @llvm.amdgcn.workitem.id.y() #1
|
|
%tmp10 = icmp ult i32 %tmp6, %arg
|
|
br i1 %tmp10, label %bb11, label %bb12
|
|
|
|
bb11: ; preds = %bb11, %bb5
|
|
br i1 %c0, label %bb11, label %bb12
|
|
|
|
bb12: ; preds = %bb11, %bb5
|
|
ret void
|
|
}
|
|
|
|
; Function Attrs: nounwind readnone
|
|
declare i32 @llvm.amdgcn.workitem.id.y() #1
|
|
|
|
attributes #1 = { nounwind readnone }
|