From 99124c31f9afaa8e713f3e1335d8e53c2ee61bc1 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 27 Sep 2017 13:06:34 +0000 Subject: graphite.h (scop::max_alias_set): New member. 2017-09-27 Richard Biener * graphite.h (scop::max_alias_set): New member. * graphite-scop-detection.c: Remove references to non-existing --param in comments. (build_alias_sets): Record the maximum alias set used for drs. (build_scops): Support zero as unlimited for --param graphite-max-arrays-per-scop. * graphite-sese-to-poly.c (add_scalar_version_numbers): Remove and inline into ... (build_poly_sr_1): ... here. Compute alias set based on the maximum alias set used for drs rather than PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP From-SVN: r253229 --- gcc/graphite.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/graphite.h') diff --git a/gcc/graphite.h b/gcc/graphite.h index d22c4f2..79793ee 100644 --- a/gcc/graphite.h +++ b/gcc/graphite.h @@ -379,6 +379,9 @@ struct scop /* Number of parameters in SCoP. */ graphite_dim_t nb_params; + /* The maximum alias set as assigned to drs by build_alias_sets. */ + unsigned max_alias_set; + /* All the basic blocks in this scop that contain memory references and that will be represented as statements in the polyhedral representation. */ -- cgit v1.1