From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D4153857828; Tue, 19 Dec 2023 09:05:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D4153857828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702976708; bh=jOjPuUo5k5JCfcjpu3hWxkjwDK2SXDA2kIoSI0FTvkY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ia8SK9h6hOTOHmblgQzwuYMLv8us/PQ7HCN0miYe5NmUkhuWL32+n6dy+J+Xx5kj9 SGA2uvLpuP2zG7EzWbIbY1xYrChlluG/yopSyViui9gCIvzSl904ygRDFJScQNiEvT HuinGo8Sa30bkc65m7n6FfgUvyfmBWnYUqHjQMvI= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113078] [14 regression] reduction of cond_sub is not vectorized. Date: Tue, 19 Dec 2023 09:05:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status 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=3D113078 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot = gnu.org Status|NEW |ASSIGNED --- Comment #2 from Richard Biener --- We special case MINUS_EXPR but likely fail to do the same to COND_SUB in reduction discovery (vect_is_simple_reduction) and/or vectorizable_reductio= n. I will have a look (possibly only next year).=