Commit b4d0dacd by Sebastian Pop Committed by Sebastian Pop

use MIN fusion for ISL-14

This patch fixes PR66754 by reverting an earlier unintended change.
We now generate a much simpler AST for interchange-1.c:

ISL AST generated by ISL:
{
  for (int c1 = 0; c1 <= 1334; c1 += 1) {
    S_7(c1);
    for (int c3 = 0; c3 <= 1334; c3 += 1)
      S_4(c1, c3);
    S_5(c1);
  }
  for (int c1 = 0; c1 <= 1334; c1 += 1)
    S_10(c1);
  S_8();
}

Bootstrap and check pass on x86_64-linux with isl-0.14.1

          PR tree-optimization/67754
          * graphite-optimize-isl.c (optimize_isl): Call
          isl_options_set_schedule_fuse with ISL_SCHEDULE_FUSE_MIN for ISL-14.

Co-Authored-By: Aditya Kumar <aditya.k7@samsung.com>

From-SVN: r228268
parent 164453bb
2015-09-29 Sebastian Pop <s.pop@samsung.com>
Aditya Kumar <aditya.k7@samsung.com>
PR tree-optimization/67754
* graphite-optimize-isl.c (optimize_isl): Call
isl_options_set_schedule_fuse with ISL_SCHEDULE_FUSE_MIN for ISL-14.
2015-09-29 Nathan Sidwell <nathan@codesourcery.com> 2015-09-29 Nathan Sidwell <nathan@codesourcery.com>
* builtins.c (expand_builtin_acc_on_device): Delete. * builtins.c (expand_builtin_acc_on_device): Delete.
...@@ -327,9 +327,10 @@ optimize_isl (scop_p scop) ...@@ -327,9 +327,10 @@ optimize_isl (scop_p scop)
isl_options_set_schedule_max_constant_term (scop->ctx, CONSTANT_BOUND); isl_options_set_schedule_max_constant_term (scop->ctx, CONSTANT_BOUND);
isl_options_set_schedule_maximize_band_depth (scop->ctx, 1); isl_options_set_schedule_maximize_band_depth (scop->ctx, 1);
#ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS #ifdef HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS
/* ISL-0.15 or later. */
isl_options_set_schedule_serialize_sccs (scop->ctx, 1); isl_options_set_schedule_serialize_sccs (scop->ctx, 1);
#else #else
isl_options_set_schedule_fuse (scop->ctx, ISL_SCHEDULE_FUSE_MAX); isl_options_set_schedule_fuse (scop->ctx, ISL_SCHEDULE_FUSE_MIN);
#endif #endif
#ifdef HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE #ifdef HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment