diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-03-13 17:34:38 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-03-13 17:34:38 +0000 |
commit | 4e7dd37645ae785b9d4d1d06d24a4ee130f2f09b (patch) | |
tree | 303f56ba4063be24160da30c6e14b89cb2d66f3d /gcc/params.def | |
parent | d7ba5c330172dbc4beb203c74714dc732a6ae340 (diff) | |
download | gcc-4e7dd37645ae785b9d4d1d06d24a4ee130f2f09b.tar.gz |
Limit the number of parameters per SCoP.
2010-03-09 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (build_poly_scop): Limit scops following
the number of parameters in the scop. Use as an upper bound
PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS.
* params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared.
* doc/invoke.texi: Document it.
From-SVN: r157431
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index 07bfb901f0b..f6f549c1466 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -745,6 +745,13 @@ DEFPARAM (PARAM_LOOP_BLOCK_TILE_SIZE, "size of tiles for loop blocking", 51, 0, 0) +/* Maximal number of parameters that we allow in a SCoP. */ + +DEFPARAM (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS, + "graphite-max-nb-scop-params", + "maximal number of parameters in a SCoP", + 10, 0, 0) + /* Avoid doing loop invariant motion on very large loops. */ DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP, |