Merge commit 55c466da2f2f from llvm-project (by Benjamin Kramer):
authorDimitry Andric <dim@FreeBSD.org>
Thu, 11 Apr 2024 21:12:42 +0000 (23:12 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Thu, 11 Apr 2024 21:16:36 +0000 (23:16 +0200)
commit78d3648e73d11c5a4dbcc0392907f0723bf1df1c
tree5ef723dfa5aa5714c3dce9cf2e60a2d58c95f328
parent2039437c7655c9cd481c6c4ad92b6bc2a945dd14
Merge commit 55c466da2f2f from llvm-project (by Benjamin Kramer):

  [X86][AVX512BF16] Add a few missing insert/extract patterns

  These are really the same as the f16 (and i16) instructions, but we need
  them for any type that can occur.

Merge commit 2e4e04c59043 from llvm-project (by Phoebe Wang):

  [X86][BF16] Do not lower to VCVTNEPS2BF16 without AVX512VL (#86395)

  Fixes: #86305

These should fix "fatal error: error in backend: Cannot select: t71:
v32bf16 = insert_subvector t67, t64, Constant:i32<16>" when building the
misc/ncnn port.

PR: 278305
Reported by: yuri
MFC after: 1 month
contrib/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp
contrib/llvm-project/llvm/lib/Target/X86/X86InstrAVX512.td