From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 405D93857825; Fri, 27 Aug 2021 02:16:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 405D93857825 From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102080] [12 Regression] avx512vl related ICE, on firefox-92 gcc ICEs: in expand_insn, at optabs.c:7946 by r12-2679 Date: Fri, 27 Aug 2021 02:16:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2021 02:16:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102080 --- Comment #4 from Hongtao.liu --- diff --git a/test.c.032t.ccp1 b/test.c.033t.forwprop1 index 5b18739..c6f0587 100644 --- a/test.c.032t.ccp1 +++ b/test.c.033t.forwprop1 @@ -31,11 +31,12 @@ void EncodedFromDisplay () __m256 __trans_tmp_11; vector(8) float _mm256_mul_ps___A.2_1; vector(8) float _mm256_mul_ps___B.3_2; + vector(8) _5; vector(8) float _mm256_blendv_ps___M.0_6; vector(8) float _mm256_blendv_ps___Y.1_7; vector(8) int _8; vector(8) _9; - vector(8) float _10; + vector(8) float _12; : _mm256_mul_ps___A.2_1 =3D _mm256_mul_ps___A; @@ -45,8 +46,9 @@ void EncodedFromDisplay () _mm256_blendv_ps___Y.1_7 =3D _mm256_blendv_ps___Y; _8 =3D VIEW_CONVERT_EXPR(_mm256_blendv_ps___M.0_6); _9 =3D _8 < { 0, 0, 0, 0, 0, 0, 0, 0 }; - _10 =3D VEC_COND_EXPR <_9, _mm256_blendv_ps___Y.1_7, __trans_tmp_11_4>; - IfThenElse___trans_tmp_9 =3D _10; + _5 =3D _8 >=3D { 0, 0, 0, 0, 0, 0, 0, 0 }; + _12 =3D .COND_MUL (_5, _mm256_mul_ps___A.2_1, _mm256_mul_ps___B.3_2, _mm256_blendv_ps___Y.1_7); + IfThenElse___trans_tmp_9 =3D _12; return; fwprop1 should check if the type of _5 satisfies the predicate of cond_mul.=