brintos

brintos / llvm-project-archived public Read only

0
0
Text · 874 B · 104fc04 Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 52; RUN: llc < %s -mtriple=x86_64-- -mcpu=skylake-avx512 | FileCheck %s3 4define void @PR95278(ptr %p0, ptr %p1) {5; CHECK-LABEL: PR95278:6; CHECK:       # %bb.0:7; CHECK-NEXT:    vcvtph2ps 2016(%rdi), %zmm08; CHECK-NEXT:    vextractf32x4 $3, %zmm0, %xmm09; CHECK-NEXT:    vshufpd {{.*#+}} xmm0 = xmm0[1,0]10; CHECK-NEXT:    vcvtps2ph $4, %xmm0, %xmm011; CHECK-NEXT:    vpextrw $0, %xmm0, (%rsi)12; CHECK-NEXT:    vzeroupper13; CHECK-NEXT:    retq14  %load = load <1024 x half>, ptr %p0, align 215  %ext = fpext <1024 x half> %load to <1024 x float>16  %shuffle = shufflevector <1024 x float> %ext, <1024 x float> poison, <1 x i32> <i32 1022>17  %elt = extractelement <1 x float> %shuffle, i64 018  %trunc = fptrunc float %elt to half19  store half %trunc, ptr %p1, align 220  ret void21}22