public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/85636] Tree if-conversion inserts redundant loads
       [not found] <bug-85636-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-20  3:33 ` pinskia at gcc dot gnu.org
  2021-07-20  7:30 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-20  3:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't see this on the trunk:
  _1 = (long unsigned int) i_31;
  _2 = _1 * 4;
  _3 = c_11(D) + _2;
  v_12 = *_3;
  _6 = a_15(D) + _2;
  iftmp.1_8 = v_12 == 20 ? y_13(D) : x_14(D);
  _26 = v_12 != 20 ? y_13(D) : x_14(D);
  *_6 = _26;
  _5 = b_17(D) + _2;
  *_5 = iftmp.1_8;
  i_19 = i_31 + 1;
  ivtmp_28 = ivtmp_23 - 1;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tree-optimization/85636] Tree if-conversion inserts redundant loads
       [not found] <bug-85636-4@http.gcc.gnu.org/bugzilla/>
  2021-07-20  3:33 ` [Bug tree-optimization/85636] Tree if-conversion inserts redundant loads pinskia at gcc dot gnu.org
@ 2021-07-20  7:30 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-20  7:30 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |9.1.0
         Resolution|---                         |FIXED
      Known to fail|                            |8.5.0
             Status|NEW                         |RESOLVED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
That's fixed since we run VN over the if-converted body which is GCC 9.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-20  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-85636-4@http.gcc.gnu.org/bugzilla/>
2021-07-20  3:33 ` [Bug tree-optimization/85636] Tree if-conversion inserts redundant loads pinskia at gcc dot gnu.org
2021-07-20  7:30 ` rguenth at gcc dot gnu.org

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).