From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AC2AB3858CD1; Thu, 20 Jul 2023 20:24:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC2AB3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689884657; bh=qTzZtKK1Z8TT6Hu8PCnK6OJWWmcQSVMdgzN60jMJK7w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F5bC9aX8TyVgJr+A2DKr3Vozao8E3CbJspxc4AXgTExNjX1uCjKIcsxSrYczmGouw Chnkr0C1DJ6lcXj3vByRNqUrGQ8VantZdA4IHA7iMPOIjK784NrdEhwdsS9yhkx6bi DfRndPVaiKdyrKeV1M+0rczKXVx8oClrB2HU3DQA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/91425] Ordered compares aren't optimised Date: Thu, 20 Jul 2023 20:24:17 +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: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 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=3D91425 --- Comment #9 from Andrew Pinski --- The biggest issue here is that the both ifcombine (and reassociate) and phi= opt does not touch the case where there could be a trapping oeprator to move it= and combine it with a previous operator. This could/should be improved.=