public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/100883] New: ifcombine should use (gimple) match and simplify instead of fold
@ 2021-06-02 19:22 pinskia at gcc dot gnu.org
  2021-06-02 23:58 ` [Bug tree-optimization/100883] " pinskia at gcc dot gnu.org
  2021-06-02 23:59 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-02 19:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100883
           Summary: ifcombine should use (gimple) match and simplify
                    instead of fold
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Like PHI-OPT, ifcombine was written before match and simplify was around so it
calls fold_build* to do the folding of the if statements.  It would be better
if it calls gimple_simplify instead of doing the gimplification manually.

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

* [Bug tree-optimization/100883] ifcombine should use (gimple) match and simplify instead of fold
  2021-06-02 19:22 [Bug tree-optimization/100883] New: ifcombine should use (gimple) match and simplify instead of fold pinskia at gcc dot gnu.org
@ 2021-06-02 23:58 ` pinskia at gcc dot gnu.org
  2021-06-02 23:59 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-02 23:58 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually I did not realize it was already done for GCC 10.  Blah.

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

* [Bug tree-optimization/100883] ifcombine should use (gimple) match and simplify instead of fold
  2021-06-02 19:22 [Bug tree-optimization/100883] New: ifcombine should use (gimple) match and simplify instead of fold pinskia at gcc dot gnu.org
  2021-06-02 23:58 ` [Bug tree-optimization/100883] " pinskia at gcc dot gnu.org
@ 2021-06-02 23:59 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-02 23:59 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0

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

end of thread, other threads:[~2021-06-02 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 19:22 [Bug tree-optimization/100883] New: ifcombine should use (gimple) match and simplify instead of fold pinskia at gcc dot gnu.org
2021-06-02 23:58 ` [Bug tree-optimization/100883] " pinskia at gcc dot gnu.org
2021-06-02 23:59 ` pinskia 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).