From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F9F73858C52; Thu, 28 Dec 2023 14:20:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F9F73858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703773206; bh=dtn7NldsInPwxCzDQN0Cx6Zp/AU3yqevdQO/KN/dg9A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tbjLH7PlFPRsZmx7YxVgiDEJ+yrWuxeFX+SPrQI4X7SgQkk183disB6aQfft/q1W+ 2uxN9fSYP7ciUFi/5ZWHPsQvBU4yJI5fMY+Zt0CoWN3SVk0ddjwQbPvfYU78A0nZ5b GmarnbyAVZbQnMIvItH5kXCeOiTc2SVH9ok8oWtE= From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113163] [14 Regression][GCN] ICE in vect_peel_nonlinear_iv_init, at tree-vect-loop.cc:9420 Date: Thu, 28 Dec 2023 14:20:05 +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: tnfchris at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status priority cf_reconfirmed_on assigned_to 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=3D113163 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Priority|P3 |P1 Last reconfirmed| |2023-12-28 Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot= gnu.org --- Comment #7 from Tamar Christina --- ok, managed to reproduce using a cross cc1. This seems to happen because the vectorizer decides to use partial vectors = to vectorize the loop and the target picks a nonlinear induction step which we can't support for early breaks. The attached patch fixes it by rejecting these kind of inductions when part= ial vectors are forced. I'll submit the patch for when maintainers are back from holidays.=