From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CBD143858006; Fri, 27 Aug 2021 02:52:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBD143858006 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/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:52:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: component 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:52:52 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102080 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |middle-end --- Comment #10 from Andrew Pinski --- (In reply to Hongtao.liu from comment #9) > (In reply to Andrew Pinski from comment #8) > > That is the mask is a vector mode still for these patterns according to= the > > internals doc. > > Rather than the scalar mode you have: > > (match_operand: 1 "register_operand") >=20 > No, according to doc, mode of operands[1] is decided by > TARGET_VECTORIZE_GET_MASK_MODE. Which means integer mode shoud also be > accepted. >=20 > Operands 0, 2, 3 and 4 all have mode m. Operand 1 is a scalar integer if = m is > scalar, otherwise it has the mode returned by TARGET_VECTORIZE_GET_MASK_ > MODE. Looks like vectorized_internal_fn_supported_p might need to be extended her= e or a better function needs to be used to check on cond_* optabs.=