From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 507353858D32; Sun, 15 Oct 2023 19:24:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 507353858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697397850; bh=9f8vxTjUwDX1GCaww/UQd/hLLuyaJKNJccT3veeL1u4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=psmSwO5pHJ+4LQHzYUfjKAaVNlcoYEyX3BssNTkpV96QyZege195um/Jn9TggkJKO EyDgbl/w0jS1evkgT/hQnuc7bpB5EyP4cHt/K8BFGRqvK7XWHY5OFKdnPYkgwwRVX0 dD9jsmdJnYWMat1TOJs45KUfa8GlpxAUuMYqoL0c= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/101541] Missing ABSU detection at gimple Date: Sun, 15 Oct 2023 19:24:10 +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: 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=3D101541 --- Comment #7 from Andrew Pinski --- Created attachment 56118 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56118&action=3Dedit Patch which I am testing which allows for more (independent of the other) This patch improves the case where we have a conversion at the end (after t= he negate expression). And with both of these patches together we are able to catch almost all. There is one more phi-opt patch needed to catch the case where the conversi= on before the negate expression is conditional but that is for another day.=