From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 30CF83846062; Fri, 5 Apr 2024 12:35:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30CF83846062 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712320554; bh=gxTWHDWBnt5QCxSPzdDlioETri915scK06XnENdhmPM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pHxVGLWXsecEF8CMvK0ZTZXEe4v8CP6WqegpnRAD6D3S908sgRglavtNGC7YVbH4W khGrXPBTGr7n7ptINI78hKwf9uL7tKzT8hbRKEXdUbYMu4ZA2W6134MoxltGjl8hB4 A8cfpip0AsBPh/ymp+c1Ha2cU+9dZkrp7V89YoLI= From: "manolis.tsamis at vrull dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp Date: Fri, 05 Apr 2024 12:35:52 +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: 12.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manolis.tsamis at vrull dot eu 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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=3D102793 Manolis Tsamis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manolis.tsamis at vrull do= t eu --- Comment #6 from Manolis Tsamis --- Created attachment 57886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57886&action=3Dedit Patch with proposed fix for the issue. Adding a copy of the ifcombine pass after pre solves this issues and improv= es code generation is some other cases too. I specifically chose after the pre pass because it deduplicates basic blocks and helps in maximizing the effec= t of ifcombine.=