Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2024 07:51:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [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)
Message-ID:  <bug-278305-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278305

            Bug ID: 278305
           Summary: clang crashes: fatal error: error in backend: Cannot
                    select: t71: v32bf16 =3D insert_subvector t67, t64,
                    Constant:i32<16> (on the port misc/ncnn)
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

This port wasn't updated recently, but clang now crashes on 15-CURRENT i386:

fatal error: error in backend: Cannot select: t71: v32bf16 =3D insert_subve=
ctor
t67, t64, Constant:i32<16>
  t67: v32bf16 =3D insert_subvector undef:v32bf16, t65, Constant:i32<0>
    t66: v32bf16 =3D undef
    t65: v16bf16 =3D X86ISD::CVTNEPS2BF16 nnan ninf nsz arcp contract afn r=
eassoc
t5
      t5: v16f32,ch =3D load<(load (s512) from %ir.ptr.0194, align 1, !tbaa=
 !30)>
t0, t2, undef:i32
        t2: i32,ch =3D CopyFromReg t0, Register:i32 %15
          t1: i32 =3D Register %15
        t4: i32 =3D undef
    t60: i32 =3D Constant<0>
  t64: v16bf16 =3D X86ISD::CVTNEPS2BF16 nnan ninf nsz arcp contract afn rea=
ssoc
t8
    t8: v16f32,ch =3D load<(load (s512) from %ir.scevgep, align 1, !tbaa !3=
0)>
t0, t7, undef:i32
      t7: i32 =3D add t2, Constant:i32<64>
        t2: i32,ch =3D CopyFromReg t0, Register:i32 %15
          t1: i32 =3D Register %15
        t6: i32 =3D Constant<64>
      t4: i32 =3D undef
  t70: i32 =3D Constant<16>
In function:
_ZN4ncnnL21cast_fp32_to_bf16_sseERKNS_3MatERS0_RKNS_6OptionE.omp_outlined
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include =
the
crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /usr/bin/c++
-I/wrkdirs/usr/ports/misc/ncnn/work/ncnn-20240102/src/layer/x86
-I/wrkdirs/usr/ports/misc/ncnn/work/ncnn-20240102/src
-I/wrkdirs/usr/ports/misc/ncnn/work/.build/src
-I/wrkdirs/usr/ports/misc/ncnn/work/ncnn-20240102/src/layer -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC
-DNCNN_STATIC_DEFINE -Wall -Wextra -Wno-unused-function -Ofast -ffast-math
-fvisibility=3Dhidden -fvisibility-inlines-hidden -msse2 -msse -fopenmp=3Dl=
ibomp
-pthread -mavx512f -mavx512cd -mavx512bw -mavx512dq -mavx512vl -mfma -mf16c
-mavx512bf16 -MD -MT
src/CMakeFiles/ncnn.dir/layer/x86/cast_x86_avx512bf16.cpp.o -MF
src/CMakeFiles/ncnn.dir/layer/x86/cast_x86_avx512bf16.cpp.o.d -o
src/CMakeFiles/ncnn.dir/layer/x86/cast_x86_avx512bf16.cpp.o -c
/wrkdirs/usr/ports/misc/ncnn/work/ncnn-20240102/src/layer/x86/cast_x86_avx5=
12bf16.cpp

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278305-227>