Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

54 lines
1.9 KiB
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
; RUN: llc < %s -mtriple=s390x-linux-gnu 2>&1 | FileCheck %s
; Ensure attempting a fcmp->tdc conversion does not crash for vector types.
define <4 x float> @f1(<4 x float> %x, <4 x float> %a, <4 x float> %b) {
; CHECK-LABEL: f1:
; CHECK: # %bb.0:
; CHECK-NEXT: # kill: def $f6s killed $f6s def $f6d
; CHECK-NEXT: # kill: def $f4s killed $f4s def $f4d
; CHECK-NEXT: # kill: def $f2s killed $f2s def $f2d
; CHECK-NEXT: # kill: def $f0s killed $f0s def $f0d
; CHECK-NEXT: lgdr %r1, %f0
; CHECK-NEXT: lgdr %r3, %f2
; CHECK-NEXT: lgdr %r0, %f4
; CHECK-NEXT: lgdr %r2, %f6
; CHECK-NEXT: risbg %r0, %r0, 33, 191, 32
; CHECK-NEXT: risbg %r3, %r3, 33, 191, 32
; CHECK-NEXT: risbg %r1, %r1, 33, 191, 32
; CHECK-NEXT: cfi %r1, 2139095040
; CHECK-NEXT: la %r1, 196(%r15)
; CHECK-NEXT: je .LBB0_2
; CHECK-NEXT: # %bb.1:
; CHECK-NEXT: la %r1, 164(%r15)
; CHECK-NEXT: .LBB0_2:
; CHECK-NEXT: risbg %r2, %r2, 33, 191, 32
; CHECK-NEXT: cfi %r3, 2139095040
; CHECK-NEXT: la %r3, 204(%r15)
; CHECK-NEXT: je .LBB0_4
; CHECK-NEXT: # %bb.3:
; CHECK-NEXT: la %r3, 172(%r15)
; CHECK-NEXT: .LBB0_4:
; CHECK-NEXT: cfi %r0, 2139095040
; CHECK-NEXT: la %r4, 212(%r15)
; CHECK-NEXT: je .LBB0_6
; CHECK-NEXT: # %bb.5:
; CHECK-NEXT: la %r4, 180(%r15)
; CHECK-NEXT: .LBB0_6:
; CHECK-NEXT: le %f0, 0(%r1)
; CHECK-NEXT: le %f2, 0(%r3)
; CHECK-NEXT: le %f4, 0(%r4)
; CHECK-NEXT: cfi %r2, 2139095040
; CHECK-NEXT: la %r1, 220(%r15)
; CHECK-NEXT: je .LBB0_8
; CHECK-NEXT: # %bb.7:
; CHECK-NEXT: la %r1, 188(%r15)
; CHECK-NEXT: .LBB0_8:
; CHECK-NEXT: le %f6, 0(%r1)
; CHECK-NEXT: br %r14
%abs = call <4 x float> @llvm.fabs.v4f32(<4 x float> %x)
%cmp = fcmp ult <4 x float> %abs, splat (float 0x7FF0000000000000)
%sel = select <4 x i1> %cmp, <4 x float> %a, <4 x float> %b
ret <4 x float> %sel
}