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
28 lines
1009 B
LLVM
28 lines
1009 B
LLVM
; Tests the conversion pattern for v64i1 to v64f16
|
|
; r0, r3 and r9 registers are i32 types converted from
|
|
; v32i1 via a bitcasting sequence.
|
|
|
|
; RUN: llc -march=hexagon -mattr=+hvxv79,+hvx-length128b \
|
|
; RUN: %s -verify-machineinstrs -o - | FileCheck %s
|
|
|
|
; CHECK: [[V3:v[0-9]+]] = vsplat([[R0:r[0-9]+]])
|
|
; CHECK: [[Q0:q[0-9]+]] = vand([[V3]],[[R0]])
|
|
; CHECK: [[V4:v[0-9]+]].w = prefixsum([[Q0]])
|
|
; CHECK: [[V5:v[0-9]+]].w = vsub([[V4]].w,[[V3]].w)
|
|
; CHECK: [[V1:v[0-9]+]] = vsplat(r
|
|
; CHECK: [[V2:v[0-9]+]] = vsplat(r
|
|
; CHECK: [[V6:v[0-9]+]].w = vlsr([[V1]].w,[[V5]].w)
|
|
; CHECK: [[V7:v[0-9]+]].w = vlsr([[V2]].w,[[V5]].w)
|
|
; CHECK: [[V8:v[0-9]+]] = vand([[V6]],[[V3]])
|
|
; CHECK: [[V9:v[0-9]+]] = vand([[V7]],[[V3]])
|
|
; CHECK: [[V10:v[0-9]+]].h = vpacke([[V9]].w,[[V8]].w)
|
|
; CHECK: .hf = [[V10]].h
|
|
|
|
define <64 x half> @uitofp_i1(<64 x i16> %in0, <64 x i16> %in1)
|
|
{
|
|
%in = icmp eq <64 x i16> %in0, %in1
|
|
%fp0 = uitofp <64 x i1> %in to <64 x half>
|
|
%out = fadd <64 x half> %fp0, %fp0
|
|
ret <64 x half> %out
|
|
}
|