aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-09-27 13:06:34 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-09-27 13:06:34 +0000
commit99124c31f9afaa8e713f3e1335d8e53c2ee61bc1 (patch)
tree583e879371e4870ee09a7e4b6505ebe81d9052b7 /gcc/graphite.h
parent84c8627ce00ccd0d1b644c8c72450626b3e111fd (diff)
downloadgcc-99124c31f9afaa8e713f3e1335d8e53c2ee61bc1.zip
gcc-99124c31f9afaa8e713f3e1335d8e53c2ee61bc1.tar.gz
gcc-99124c31f9afaa8e713f3e1335d8e53c2ee61bc1.tar.bz2
graphite.h (scop::max_alias_set): New member.
2017-09-27 Richard Biener <rguenther@suse.de> * 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
Diffstat (limited to 'gcc/graphite.h')
-rw-r--r--gcc/graphite.h3
1 files changed, 3 insertions, 0 deletions
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. */