diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-21 21:18:17 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-21 21:18:17 +0000 |
commit | 84e9670514d751c49ea70db115f9d8ef8d2aa934 (patch) | |
tree | d69a131c4e1ebc4d17844685161bbfde2a5cd128 /gcc/params.def | |
parent | 92a110bb708fa82e2520c5fc5187a8c748dad06e (diff) | |
download | gcc-84e9670514d751c49ea70db115f9d8ef8d2aa934.tar.gz |
add an upper limit on the number of array references
* graphite-scop-detection.c (build_scops): Do not handle scops with more
than PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP arrays.
* params.def (PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229150 138bc75d-0d04-0410-961f-82ee72b054a4
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 dd073019d69..2df47d7add3 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -849,6 +849,13 @@ DEFPARAM (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION, "maximum number of basic blocks per function to be analyzed by Graphite", 100, 0, 0) +/* Maximal number of array references in a scop. */ + +DEFPARAM (PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP, + "graphite-max-arrays-per-scop", + "maximum number of arrays per scop", + 100, 0, 0) + /* Maximal number of basic blocks in the functions analyzed by Graphite. */ DEFPARAM (PARAM_GRAPHITE_MIN_LOOPS_PER_FUNCTION, |