[Bug 278305] clang crashes: fatal error: error in backend: Cannot select: t71: v32bf16 = insert_subvector t67, t64, Constant:i32<16> (on the port misc/ncnn)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Apr 2024 21:18:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278305

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=78d3648e73d11c5a4dbcc0392907f0723bf1df1c

commit 78d3648e73d11c5a4dbcc0392907f0723bf1df1c
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-11 21:12:42 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-11 21:16:36 +0000

    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 |  7 +++++--
 contrib/llvm-project/llvm/lib/Target/X86/X86InstrAVX512.td   | 12 ++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.