From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46B123858D35; Fri, 5 May 2023 06:24:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46B123858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683267882; bh=+tKH9quwhiHgsYBIzvRjp2rtla8GARfpmW1td7qQOdo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XiZDA7BvKs4QnsZIlNReO9wOfZpQn0cFj8rxxg5oKG/fcIUzddkA90TBvC6eVVlfq jKNMwmqYupbyIme82007FOzokaIuERAss79NjoY0JPZFTTWu6w8Lm1zKRFVZv6ksqy 24rKzwffKabPMB31A3APDyRQbnYA1K8CngGYKMe4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match Date: Fri, 05 May 2023 06:24:40 +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: 4.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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=3D25290 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | --- Comment #31 from Andrew Pinski --- So what is left as of May 4th 2023: minmax_replacement: * some min/max detection has not moved to match (cast dealing with INT_MAX) * `if (a < b) c =3D min/max(a, d)` transformation has not moved to match cond_removal_in_builtin_zero_pattern: * supporting of one extra statement to move out of the conditional (has to = be a cast)=