public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/7] PHI-OPT move abs_replacement to match.pd
@ 2021-06-23 22:19 apinski
  2021-06-23 22:19 ` [PATCH 1/7] Expand the comparison argument of fold_cond_expr_with_comparison apinski
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: apinski @ 2021-06-23 22:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andrew Pinski

From: Andrew Pinski <apinski@marvell.com>

To able to move PHI-OPT's abs_replacement to match.pd, a bunch
of support needed to be added to PHI-OPT.
This is a set of 7 patches which allows us to remove abs_replacement
and even does one set further and does a few extra transformations
that abs_replacement did not do (just because of the moving from
fold to match).

Andrew Pinski (7):
  Expand the comparison argument of fold_cond_expr_with_comparison
  Reset the range info on the moved instruction in PHIOPT
  Duplicate the range information of the phi onto the new ssa_name
  Allow match-and-simplified phiopt to run in early phiopt
  Try inverted comparison for match_simplify in phiopt
  Lower for loops before lowering cond in genmatch
  Port most of the A CMP 0 ? A : -A to match

 gcc/fold-const.c                           |  39 +--
 gcc/genmatch.c                             |  28 +-
 gcc/match.pd                               |  60 +++++
 gcc/testsuite/gcc.dg/tree-ssa/phi-opt-15.c |   4 +-
 gcc/tree-ssa-phiopt.c                      | 286 +++++++++------------
 5 files changed, 217 insertions(+), 200 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2021-06-29 15:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 22:19 [PATCH 0/7] PHI-OPT move abs_replacement to match.pd apinski
2021-06-23 22:19 ` [PATCH 1/7] Expand the comparison argument of fold_cond_expr_with_comparison apinski
2021-06-24 15:11   ` Jeff Law
2021-06-23 22:19 ` [PATCH 2/7] Reset the range info on the moved instruction in PHIOPT apinski
2021-06-24 15:11   ` Jeff Law
2021-06-23 22:19 ` [PATCH 3/7] Duplicate the range information of the phi onto the new ssa_name apinski
2021-06-24 15:16   ` Jeff Law
2021-06-26  6:21     ` Andrew Pinski
2021-06-23 22:19 ` [PATCH 4/7] Allow match-and-simplified phiopt to run in early phiopt apinski
2021-06-24 16:23   ` Jeff Law
2021-06-25  8:24     ` Richard Biener
2021-06-29 15:17       ` Jeff Law
2021-06-23 22:19 ` [PATCH 5/7] Try inverted comparison for match_simplify in phiopt apinski
2021-06-24 13:02   ` Bernhard Reutner-Fischer
2021-06-24 15:17   ` Jeff Law
2021-06-23 22:19 ` [PATCH 6/7] Lower for loops before lowering cond in genmatch apinski
2021-06-24 16:25   ` Jeff Law
2021-06-23 22:19 ` [PATCH 7/7] Port most of the A CMP 0 ? A : -A to match apinski
2021-06-24 15:19   ` Jeff Law

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