From nobody Thu Apr 11 07:51:49 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VFX2s2r8Hz5GwJP for ; Thu, 11 Apr 2024 07:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VFX2s1KVgz4YG1 for ; Thu, 11 Apr 2024 07:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712821909; a=rsa-sha256; cv=none; b=Nf3FjcdMEmRcj7k1fiQ/yYfJw8W5nBMAL2xoTQ05+EBu+osCeFpI2FxKL3QH0hDZ0jnhrJ aCmr06dKBftpqOy2zasb3Q2dJDgf9rnx0lkO20n1iHPEMjfBkCy7cqK/a4nLlnF2lQZzKj eWkSJPMS9JeiQHiA+ycZoRL67rvFoJ2kpkyW7ecgs4aG3wDClupdUa0WzE+EzKUfBBeYfi ilkyUAe7i8FfwfYrn5VrJBR2i40TOdzj14AeO/kL6e5hd2H8pmiNu95bgeStO4hDqGWiFI fWX14eTUnWDBZGMaBK/uVQiHDYF3R6r859mHWVSXG/qu+ybvmAyqzI0DIPuuXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712821909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3telzTYa2dLfzFRibaB3GO+UNeXrlXOi3Nx1bVOok2k=; b=j3zFhKMc8zT2vVn4Ye+Jz5zBApH3w/EuuA1ih9s/XrUE5uBqZeHKLu+bdtq46rqhsR4cm4 buGitk//gsYF8v3PL189K9JxYf5XZ0T8mkiV8iQV5mAmDS5AIvwxDdwFbot02MisBFm0ul 800uszEzR1Y/VbVVI8crvu0n70NukSxmYdRhyBU7Ysx1JwT6YDW+qWXhxvy5Jy+d+/TFdX Kv1XVlTcHEpOOijgV29LA0oLc51sh6H6FXwcmeIa6fcupno8KTTYG3re2wpBSIcJxxFeIX K+3cTzu0lgb28oLyXRLBolOY6UpUcP5hjtUwLIkSBHp/VqS8A09Sebq+2zkZ6Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VFX2s0jGgz1CTx for ; Thu, 11 Apr 2024 07:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43B7pnDv009592 for ; Thu, 11 Apr 2024 07:51:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43B7pmA0009591 for bugs@FreeBSD.org; Thu, 11 Apr 2024 07:51:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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) Date: Thu, 11 Apr 2024 07:51:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: freebsd-bugs+owner@freebsd.org MIME-Version: 1.0 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.=