public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Andrew Pinski <apinski@marvell.com>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] MATCH: Transform `(1 >> X) !=/== 0` into `X ==/!= 0`
Date: Tue, 5 Sep 2023 01:12:30 -0600	[thread overview]
Message-ID: <913b7359-30d6-4cee-895c-dbdff9454903@gmail.com> (raw)
In-Reply-To: <20230903162554.908044-1-apinski@marvell.com>



On 9/3/23 10:25, Andrew Pinski via Gcc-patches wrote:
> We currently have a pattern for handling `(C >> X) & D == 0`
> but if C is 1 and D is 1, the `& 1` might have been removed.
> 
> gcc/ChangeLog:
> 
> 	PR tree-optimization/105832
> 	* match.pd (`(1 >> X) != 0`): New pattern
OK
jeff

      reply	other threads:[~2023-09-05  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-03 16:25 Andrew Pinski
2023-09-05  7:12 ` Jeff Law [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=913b7359-30d6-4cee-895c-dbdff9454903@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=apinski@marvell.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).