This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 3/3] [graphite] specify more isl codegen options
- From: Sebastian Pop <s dot pop at samsung dot com>
- To: sebpop at gmail dot com
- Cc: richard dot guenther at gmail dot com, gcc-patches at gcc dot gnu dot org, hiraditya at msn dot com, Sebastian Pop <s dot pop at samsung dot com>
- Date: Wed, 9 Dec 2015 12:26:29 -0600
- Subject: [PATCH 3/3] [graphite] specify more isl codegen options
- Authentication-results: sourceware.org; auth=none
- References: <1449685589-10628-1-git-send-email-s dot pop at samsung dot com>
---
gcc/graphite-optimize-isl.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c
index f90fcfd..50f2b3c 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 <isl/ctx.h>
#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
#include <isl/schedule_node.h>
+#include <isl/ast_build.h>
#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
--
1.9.1