From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E19DC3858402; Sat, 30 Dec 2023 08:34:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E19DC3858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703925290; bh=Q31z/cSrnmWJx8SZmC+eJiwLt8E9++IMwEz0oiS87bg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QNmS2O/J9nOCmmSuzmXxGA0/2w/7JswUp+trI26q1rHj9UzvQhrVLUX/M0YzTYx66 p4OsqC0MPTDhMGXajYDzDYa7FlSioTfzFFM053eU7v7HiB36lZbu9LghiJ3hRVeh0W MSEODmaMF7kXBrARerf7LVQzFHpMURchnHhV6eyY= From: "hliu at amperecomputing dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110625] [14 Regression][AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large Date: Sat, 30 Dec 2023 08:34:11 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: hliu at amperecomputing dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D110625 --- Comment #26 from Hao Liu --- But for now, the patch should fix the regression.(In reply to Tamar Christi= na from comment #25) > Is still pretty inefficient due to all the extends. If we generate better > code here this may tip the scale back to vector. But for now, the patch > should fix the regression. That's great. Thanks a lot!=