public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/29144] Missing if-conversion. If-conversion dependent on operand order. Inconsistent if-conversion. Date: Fri, 02 Jun 2023 06:04:41 +0000 [thread overview] Message-ID: <bug-29144-4-DewhBcKdwi@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-29144-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29144 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |64700 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=64700 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- a, c is really just another case of PR 64700. b and d are already optimized on the gimple level by PRE to: ``` _10 = a_4(D) - b_5(D); if (c_3(D) != 0) goto <bb 4>; [50.00%] else goto <bb 3>; [50.00%] <bb 3> [local count: 536870913]: r_7 = o_6(D) + _10; <bb 4> [local count: 1073741824]: # r_2 = PHI <_10(2), r_7(3)> ``` Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64700 [Bug 64700] Sink common code through PHI
next prev parent reply other threads:[~2023-06-02 6:04 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-29144-4@http.gcc.gnu.org/bugzilla/> 2021-08-18 21:35 ` pinskia at gcc dot gnu.org 2023-06-02 6:04 ` pinskia at gcc dot gnu.org [this message] 2006-09-19 15:51 [Bug c/29144] New: " Hakon dot Bugge at scali dot com 2009-02-06 20:58 ` [Bug rtl-optimization/29144] " steven at gcc dot gnu dot 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-29144-4-DewhBcKdwi@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: linkBe 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).