Issue 95274
Summary [X86] [Crash] LLVM ERROR: Do not know how to split the result of this operator!
Labels new issue
Assignees
Reporter ienkovich
    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}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to