diff options
author | Richard Biener <rguenther@suse.de> | 2017-09-27 11:09:41 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-09-27 11:09:41 +0000 |
commit | d2552094b8c0a8aaa92d831ee3de2a72cc20d642 (patch) | |
tree | 3e306d8393299ba97b86fc3fe866102ac26afda8 /gcc/graphite.c | |
parent | 04620f22b03308e89d0cc2ceefd8bc8eca19979d (diff) | |
download | gcc-d2552094b8c0a8aaa92d831ee3de2a72cc20d642.zip gcc-d2552094b8c0a8aaa92d831ee3de2a72cc20d642.tar.gz gcc-d2552094b8c0a8aaa92d831ee3de2a72cc20d642.tar.bz2 |
invoke.texi (graphite-max-bbs-per-function): Remove.
2017-09-27 Richard Biener <rguenther@suse.de>
* doc/invoke.texi (graphite-max-bbs-per-function): Remove.
(graphite-max-nb-scop-params): Document special value zero.
* domwalk.h (dom_walker::STOP): New symbolical constant.
(dom_walker::dom_walker): Add optional parameter for bb to
RPO mapping.
(dom_walker::~dom_walker): Declare.
(dom_walker::before_dom_children): Document STOP return value.
(dom_walker::m_user_bb_to_rpo): New member.
(dom_walker::m_bb_to_rpo): Likewise.
* domwalk.c (dom_walker::dom_walker): Compute bb to RPO
mapping here if not provided by the user.
(dom_walker::~dom_walker): Free bb to RPO mapping if not
provided by the user.
(dom_walker::STOP): Define.
(dom_walker::walk): Do not compute bb to RPO mapping here.
Support STOP return value from before_dom_children to stop
walking.
* graphite-optimize-isl.c (optimize_isl): If the schedule
is the same still generate code if -fgraphite-identity
or -floop-parallelize-all are given.
* graphite-scop-detection.c: Include cfganal.h.
(gather_bbs::gather_bbs): Get and pass through bb to RPO
mapping.
(gather_bbs::before_dom_children): Return STOP for BBs
not in the region.
(build_scops): Compute bb to RPO mapping and pass it to
the domwalk. Treat --param graphite-max-nb-scop-params=0
as not limiting the number of params.
* graphite.c (graphite_initialize): Remove limit on the
number of basic-blocks in a function.
* params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Remove.
(PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Adjust to documented
default value of 10.
From-SVN: r253226
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 6713df6..0bdcc28 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -218,14 +218,9 @@ static bool graphite_initialize (void) { int min_loops = PARAM_VALUE (PARAM_GRAPHITE_MIN_LOOPS_PER_FUNCTION); - int max_bbs = PARAM_VALUE (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION); - int nbbs = n_basic_blocks_for_fn (cfun); int nloops = number_of_loops (cfun); - if (nloops <= min_loops - /* FIXME: This limit on the number of basic blocks of a function - should be removed when the SCOP detection is faster. */ - || (nbbs > max_bbs)) + if (nloops <= min_loops) { if (dump_file && (dump_flags & TDF_DETAILS)) { @@ -234,10 +229,6 @@ graphite_initialize (void) "PARAM_GRAPHITE_MIN_LOOPS_PER_FUNCTION = %d.\n", min_loops); - else if (nbbs > max_bbs) - fprintf (dump_file, "\nFunction has too many basic blocks: " - "PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION = %d.\n", max_bbs); - fprintf (dump_file, "\nnumber of SCoPs: 0\n"); print_global_statistics (dump_file); } |