From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 824863858000; Thu, 2 Nov 2023 19:00:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 824863858000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698951618; bh=WTDTsVE013t9dtcb2uePAMTGUycKZiJKL+qQJFiuySw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bqP/rmmdMOlzxgOKUJWIIPuNrzFsrF9tBfclPCjy5jqWJqHS7QH52wFONpb1KbXbo 8Mi/h7t53Js4rcnicEPHbN3PCgJiFiALsYH/5xO/wBrO23ZO/KskPFkbtg/THyTew3 qvOMFIEmO6KcJ6+0kt2HDSPuQr7p0cirYaREWhNc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102138] t = a==0 and a = PHI<0, t> should be done earlier than PRE Date: Thu, 02 Nov 2023 19:00:18 +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: 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: 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=3D102138 --- Comment #4 from Andrew Pinski --- This is the generic solution to what was done to fix PR 104639.=