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
39 lines
1.4 KiB
LLVM
39 lines
1.4 KiB
LLVM
; This function contains two selects which differ only by having reversed
|
|
; operand order. They are in fact equivalent, since the icmps that preceede
|
|
; them also are the same except for reversed conditions. SelectionDAG will
|
|
; discover this and return the other SELECT_CCMASK when the operands are
|
|
; canonicalized. This must be handled by SystemZDAGToDAGISel::Select, or
|
|
; instruction selection will fail.
|
|
;
|
|
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13
|
|
|
|
|
|
@g_1531 = external global [7 x i64], align 8
|
|
@g_277 = external global <{ i64, i8, i8, i8, i8, i8, i8 }>, align 8
|
|
@g_62.6 = external global i32, align 4
|
|
|
|
define dso_local void @fun() {
|
|
entry:
|
|
%tmp = add nuw nsw i16 0, 238
|
|
%tmp4 = sub nsw i16 %tmp, 0
|
|
store i64 4, ptr @g_277, align 8
|
|
%tmp5 = load i64, ptr getelementptr inbounds ([7 x i64], ptr @g_1531, i64 0, i64 5), align 8
|
|
%tmp6 = trunc i64 %tmp5 to i32
|
|
%tmp7 = trunc i64 %tmp5 to i16
|
|
%tmp8 = shl i32 %tmp6, 24
|
|
%tmp9 = ashr exact i32 %tmp8, 24
|
|
%tmp10 = urem i16 %tmp7, %tmp4
|
|
%tmp11 = icmp eq i16 %tmp10, 0
|
|
%tmp12 = select i1 %tmp11, i32 0, i32 %tmp9
|
|
%tmp13 = icmp sge i32 %tmp12, undef
|
|
%tmp14 = zext i1 %tmp13 to i32
|
|
%tmp15 = or i32 0, %tmp14
|
|
%tmp16 = icmp ne i16 %tmp10, 0
|
|
%tmp17 = select i1 %tmp16, i32 %tmp9, i32 0
|
|
%tmp18 = icmp sge i32 %tmp17, undef
|
|
%tmp19 = zext i1 %tmp18 to i32
|
|
%tmp20 = or i32 %tmp15, %tmp19
|
|
store i32 %tmp20, ptr @g_62.6, align 4
|
|
unreachable
|
|
}
|