From: Aditya Kumar Date: Wed, 9 Dec 2015 18:40:15 +0000 (+0000) Subject: specify more isl codegen options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d57ad2bf748476c2562a663b9989b65403205085;p=gcc.git specify more isl codegen options * graphite-optimize-isl.c: Include isl/ast_build.h (optimize_isl): Set several isl_options_set_* options. Co-Authored-By: Sebastian Pop From-SVN: r231467 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 069e69596e8..ee48602b965 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-12-09 Aditya Kumar + Sebastian Pop + + * graphite-optimize-isl.c: Include isl/ast_build.h + (optimize_isl): Set several isl_options_set_* options. + 2015-12-09 Aditya Kumar Sebastian Pop diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c index f90fcfd936a..50f2b3c29b8 100644 --- a/gcc/graphite-optimize-isl.c +++ b/gcc/graphite-optimize-isl.c @@ -50,6 +50,7 @@ along with GCC; see the file COPYING3. If not see #include #ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS #include +#include #endif #include "graphite.h" @@ -405,7 +406,14 @@ optimize_isl (scop_p scop) isl_options_set_schedule_maximize_band_depth (scop->isl_context, 1); #ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS /* ISL-0.15 or later. */ + isl_options_set_schedule_serialize_sccs (scop->isl_context, 0); isl_options_set_schedule_maximize_band_depth (scop->isl_context, 1); + isl_options_set_schedule_max_constant_term (scop->isl_context, 20); + isl_options_set_schedule_max_coefficient (scop->isl_context, 20); + isl_options_set_tile_scale_tile_loops (scop->isl_context, 0); + isl_options_set_coalesce_bounded_wrapping (scop->isl_context, 1); + isl_options_set_ast_build_exploit_nested_bounds (scop->isl_context, 1); + isl_options_set_ast_build_atomic_upper_bound (scop->isl_context, 1); #else isl_options_set_schedule_fuse (scop->isl_context, ISL_SCHEDULE_FUSE_MIN); #endif