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
59 lines
2.2 KiB
LLVM
59 lines
2.2 KiB
LLVM
; RUN: llc -mtriple=r600 -mcpu=redwood -disable-promote-alloca-to-vector -disable-promote-alloca-to-lds < %s | FileCheck %s
|
|
;
|
|
; CFG flattening should use parallel-and mode to generate branch conditions and
|
|
; then merge if-regions with the same bodies.
|
|
;
|
|
; CHECK: AND_INT
|
|
; CHECK-NEXT: AND_INT
|
|
; CHECK-NEXT: OR_INT
|
|
|
|
; FIXME: For some reason having the allocas here allowed the flatten cfg pass
|
|
; to do its transformation, however now that we are using local memory for
|
|
; allocas, the transformation isn't happening.
|
|
|
|
define amdgpu_kernel void @_Z9chk1D_512v() #0 {
|
|
entry:
|
|
%a0 = alloca i32, align 4, addrspace(5)
|
|
%b0 = alloca i32, align 4, addrspace(5)
|
|
%c0 = alloca i32, align 4, addrspace(5)
|
|
%d0 = alloca i32, align 4, addrspace(5)
|
|
%a1 = alloca i32, align 4, addrspace(5)
|
|
%b1 = alloca i32, align 4, addrspace(5)
|
|
%c1 = alloca i32, align 4, addrspace(5)
|
|
%d1 = alloca i32, align 4, addrspace(5)
|
|
%data = alloca i32, align 4, addrspace(5)
|
|
%0 = load i32, ptr addrspace(5) %a0, align 4
|
|
%1 = load i32, ptr addrspace(5) %b0, align 4
|
|
%cmp = icmp ne i32 %0, %1
|
|
br i1 %cmp, label %land.lhs.true, label %if.end
|
|
|
|
land.lhs.true: ; preds = %entry
|
|
%2 = load i32, ptr addrspace(5) %c0, align 4
|
|
%3 = load i32, ptr addrspace(5) %d0, align 4
|
|
%cmp1 = icmp ne i32 %2, %3
|
|
br i1 %cmp1, label %if.then, label %if.end
|
|
|
|
if.then: ; preds = %land.lhs.true
|
|
store i32 1, ptr addrspace(5) %data, align 4
|
|
br label %if.end
|
|
|
|
if.end: ; preds = %if.then, %land.lhs.true, %entry
|
|
%4 = load i32, ptr addrspace(5) %a1, align 4
|
|
%5 = load i32, ptr addrspace(5) %b1, align 4
|
|
%cmp2 = icmp ne i32 %4, %5
|
|
br i1 %cmp2, label %land.lhs.true3, label %if.end6
|
|
|
|
land.lhs.true3: ; preds = %if.end
|
|
%6 = load i32, ptr addrspace(5) %c1, align 4
|
|
%7 = load i32, ptr addrspace(5) %d1, align 4
|
|
%cmp4 = icmp ne i32 %6, %7
|
|
br i1 %cmp4, label %if.then5, label %if.end6
|
|
|
|
if.then5: ; preds = %land.lhs.true3
|
|
store i32 1, ptr addrspace(5) %data, align 4
|
|
br label %if.end6
|
|
|
|
if.end6: ; preds = %if.then5, %land.lhs.true3, %if.end
|
|
ret void
|
|
}
|