From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 398473858D1E; Wed, 8 Nov 2023 10:40:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 398473858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699440049; bh=T5+GxqgSOL/XPaKlS93xgYPOTTutS5yBM5+q29j6uc8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V0idWGClTlM+kEOhDPY29tmDAh4x2hQS2QmMF/6fGY0V9FFa91Iq4Q8GkuPXcw0kv 07sBdCNy0G97JWeaOz7U//0H2b2D04RyBi20xann3M4EGpIkJnDKc551ixrgDDb0PY 18wQH5IJRKIJL+Gh5oulzOym0jXPMSfTzWGttE+c= From: "rdapp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with on internal compiler error: in expand_insn, at optabs.cc:8305 after g:01c18f58d37865d5f3bbe93e666183b54ec608c7 Date: Wed, 08 Nov 2023 10:40:49 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rdapp at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112406 --- Comment #7 from Robin Dapp --- Ah, thanks, I can reproduce this on the cfarm/gcc185. We don't expand: vect__ifc__141.81_358 =3D .COND_ADD (vect_cst__356, vect_GetImageChannelMoments_M00_0_lsm.74_338, { 1.0e+0, ... }, vect_GetImageChannelMoments_M00_0_lsm.74_338); because we cannot legitimize the first operand ([1]): (reg:VNx16QI 247 [ vect_cst__356 ]) while operand[0] is VNx2DFmode (reg:VNx2DF 248 [ vect__ifc__141.81 ]). We only check for the lhs type in ifcvt via vectorized_internal_fn_supporte= d_p. Maybe we need something like ifcvt_can_predicate as well?=