public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination
       [not found] <bug-79333-4@http.gcc.gnu.org/bugzilla/>
@ 2021-05-04 13:45 ` rguenth at gcc dot gnu.org
  2021-05-05  7:59 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-04 13:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|FRE/PRE do not fold calls   |FRE/PRE do not allow
                   |not-in-place and do not     |folding to look at SSA defs
                   |allow folding to look at    |during elimination
                   |SSA defs during elimination |
   Last reconfirmed|2017-02-02 00:00:00         |2021-5-4

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
We're no longer folding in-place since the RPO VN rewrite but we're still not
allowing fold_stmt to follow SSA edges.

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

* [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination
       [not found] <bug-79333-4@http.gcc.gnu.org/bugzilla/>
  2021-05-04 13:45 ` [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination rguenth at gcc dot gnu.org
@ 2021-05-05  7:59 ` cvs-commit at gcc dot gnu.org
  2021-05-05  8:02 ` rguenth at gcc dot gnu.org
  2021-05-07 15:55 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-05  7:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:d846f225c25c5885250c303c8d118caa08c447ab

commit r12-476-gd846f225c25c5885250c303c8d118caa08c447ab
Author: Richard Biener <rguenther@suse.de>
Date:   Tue May 4 15:51:20 2021 +0200

    tree-optimization/79333 - fold stmts following SSA edges in VN

    This makes sure to follow SSA edges when folding eliminated stmts.
    This reaps the same benefit as forwprop folding all stmts, not
    waiting for one to produce copysign in the new testcase.

    2021-05-04  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/79333
            * tree-ssa-sccvn.c (eliminate_dom_walker::eliminate_stmt):
            Fold stmt following SSA edges.

            * gcc.dg/tree-ssa/ssa-fre-94.c: New testcase.
            * gcc.dg/graphite/fuse-1.c: Adjust.
            * gcc.dg/pr43864-4.c: Likewise.

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

* [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination
       [not found] <bug-79333-4@http.gcc.gnu.org/bugzilla/>
  2021-05-04 13:45 ` [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination rguenth at gcc dot gnu.org
  2021-05-05  7:59 ` cvs-commit at gcc dot gnu.org
@ 2021-05-05  8:02 ` rguenth at gcc dot gnu.org
  2021-05-07 15:55 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-05  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |12.0
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for GCC 12.

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

* [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination
       [not found] <bug-79333-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-05-05  8:02 ` rguenth at gcc dot gnu.org
@ 2021-05-07 15:55 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-07 15:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Christophe Lyon <clyon@gcc.gnu.org>:

https://gcc.gnu.org/g:601191b2a48cb8f4657bb2fa2270a7fde9d52e9c

commit r12-617-g601191b2a48cb8f4657bb2fa2270a7fde9d52e9c
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date:   Fri May 7 15:52:35 2021 +0000

    tree-optimization/79333 - fold stmts following SSA edges in VN

    copysign is only available with c99_runtime, skip ssa-fre-94.c
    otherwise.

    2021-05-07  Christophe Lyon  <christophe.lyon@linaro.org>

            PR tree-optimization/79333
            gcc/testsuite/
            * gcc.dg/tree-ssa/ssa-fre-94.c: Require c99_runtime.

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

end of thread, other threads:[~2021-05-07 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-79333-4@http.gcc.gnu.org/bugzilla/>
2021-05-04 13:45 ` [Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination rguenth at gcc dot gnu.org
2021-05-05  7:59 ` cvs-commit at gcc dot gnu.org
2021-05-05  8:02 ` rguenth at gcc dot gnu.org
2021-05-07 15:55 ` cvs-commit 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).