public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "luoxhu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/102008] [12 Regression] no cmov generated for loads next to each other
Date: Tue, 07 Sep 2021 02:14:37 +0000	[thread overview]
Message-ID: <bug-102008-4-pIlEmOM5U3@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102008-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from luoxhu at gcc dot gnu.org ---

phiopt4 and sink2 are doing reverse optimizations:

pr102008.c.200t.phiopt4: 

 Hoisting adjacent loads from 3 and 4 into 2:  _6 = foo_4(D)->a;  _5 =
foo_4(D)->b;

pr102008.c.202t.sink2: 

 Sinking _5 = foo_4(D)->b; from bb 2 to bb 4
 Sinking  _6 = foo_4(D)->a; from bb 2 to bb 3

  parent reply	other threads:[~2021-09-07  2:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 20:00 [Bug tree-optimization/102008] New: " pinskia at gcc dot gnu.org
2021-08-21 20:00 ` [Bug rtl-optimization/102008] " pinskia at gcc dot gnu.org
2021-08-23  9:02 ` rguenth at gcc dot gnu.org
2021-09-07  2:03 ` luoxhu at gcc dot gnu.org
2021-09-07  2:14 ` luoxhu at gcc dot gnu.org [this message]
2022-03-16 10:00 ` rguenth at gcc dot gnu.org
2022-03-16 10:02 ` jakub at gcc dot gnu.org
2022-03-16 10:09 ` rguenth at gcc dot gnu.org
2022-03-16 10:20 ` jakub at gcc dot gnu.org
2022-03-16 12:39 ` rguenth at gcc dot gnu.org
2022-03-16 13:00 ` cvs-commit at gcc dot gnu.org
2022-03-16 13:01 ` rguenth 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-102008-4-pIlEmOM5U3@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).