<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/95274>95274</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[X86] [Crash] LLVM ERROR: Do not know how to split the result of this operator!
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ienkovich
</td>
</tr>
</table>
<pre>
FP vector conversion test fails for skylake-avx512 CPU. Works fine for sapphirerapids CPU.
```
$ llc bugpoint-reduced-simplified.ll -mcpu=skylake-avx512
SplitVectorResult #0: t12: v1024i16 = X86ISD::CVTPS2PH undef:v1024f32, TargetConstant:i32<4>
LLVM ERROR: Do not know how to split the result of this operator!
```
Simplified reproducer:
```
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "LLVMDialectModule"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: memory(argmem: readwrite)
define void @kernel(ptr %0) local_unnamed_addr #0 {
%2 = fptrunc <1024 x float> poison to <1024 x half>
store <1024 x half> %2, ptr %0, align 2
ret void
}
attributes #0 = { memory(argmem: readwrite) }
!llvm.module.flags = !{!0}
!0 = !{i32 2, !"Debug Info Version", i32 3}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyslMtu47gShp-G3hRkiEVd7IUWjtXGaaAbJ0h6Mr0LaKkkcUyRAkk5ydsPKDuXvmBmM4AhkWb9pb8-Fim9V70hqlh-w_J6JecwWFcpMid7Vs2wOtr2pTrcwpmaYB001pzJeWUNBPIBOqm0h8468KcXLU-UyPNzzhH2t3-s4U_rTh46ZegSIqdpUI6cnFTrlxCW1izdsSK9_i5TzEDrBo5zP1llQuKonRtqE6_GSatOUbvWGpKxmWYm6h-_fElxP2kVHhbPd-RnHYChSJnYQeAYX2ee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