public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/94802] Failure to recognize identities with __builtin_clz
Date: Tue, 05 Jan 2021 10:28:36 +0000	[thread overview]
Message-ID: <bug-94802-4-PhZIbEmwc6@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94802-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94802

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Which means it won't help for foo():

  <bb 2> :
  if (b_2(D) >= a_3(D))
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  iftmp.0_5 = b_2(D) - a_3(D);

  <bb 4> :
  # iftmp.0_1 = PHI <iftmp.0_5(3), 0(2)>
  return iftmp.0_1;

  parent reply	other threads:[~2021-01-05 10:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 15:10 [Bug tree-optimization/94802] New: " gabravier at gmail dot com
2020-04-27 15:14 ` [Bug tree-optimization/94802] " gabravier at gmail dot com
2020-04-27 15:22 ` jakub at gcc dot gnu.org
2020-12-31 10:10 ` cvs-commit at gcc dot gnu.org
2020-12-31 10:15 ` jakub at gcc dot gnu.org
2021-01-02  8:44 ` jakub at gcc dot gnu.org
2021-01-05 10:25 ` rguenth at gcc dot gnu.org
2021-01-05 10:28 ` rguenth at gcc dot gnu.org [this message]
2021-01-05 11:18 ` jakub at gcc dot gnu.org
2021-01-05 12:13 ` jakub at gcc dot gnu.org
2021-01-05 14:32 ` denis.campredon at gmail dot com
2021-01-05 18:14 ` cvs-commit at gcc dot gnu.org
2021-01-05 18:16 ` jakub at gcc dot gnu.org
2021-08-14 22:29 ` pinskia at gcc dot gnu.org

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=bug-94802-4-PhZIbEmwc6@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).