https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278305
Bug ID: 278305
Summary: clang crashes: fatal error: error in backend: Cannot
select: t71: v32bf16 = 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: [email protected]
Reporter: [email protected]
This port wasn't updated recently, but clang now crashes on 15-CURRENT i386:
fatal error: error in backend: Cannot select: t71: v32bf16 = insert_subvector
t67, t64, Constant:i32<16>
t67: v32bf16 = insert_subvector undef:v32bf16, t65, Constant:i32<0>
t66: v32bf16 = undef
t65: v16bf16 = X86ISD::CVTNEPS2BF16 nnan ninf nsz arcp contract afn reassoc
t5
t5: v16f32,ch = load<(load (s512) from %ir.ptr.0194, align 1, !tbaa !30)>
t0, t2, undef:i32
t2: i32,ch = CopyFromReg t0, Register:i32 %15
t1: i32 = Register %15
t4: i32 = undef
t60: i32 = Constant<0>
t64: v16bf16 = X86ISD::CVTNEPS2BF16 nnan ninf nsz arcp contract afn reassoc
t8
t8: v16f32,ch = load<(load (s512) from %ir.scevgep, align 1, !tbaa !30)>
t0, t7, undef:i32
t7: i32 = add t2, Constant:i32<64>
t2: i32,ch = CopyFromReg t0, Register:i32 %15
t1: i32 = Register %15
t6: i32 = Constant<64>
t4: i32 = undef
t70: i32 = 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=hidden -fvisibility-inlines-hidden -msse2 -msse -fopenmp=libomp
-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_avx512bf16.cpp
--
You are receiving this mail because:
You are the assignee for the bug.