summaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorMircea Namolaru <mircea.namolaru@inria.fr>2014-11-15 16:37:49 +0100
committerMircea Namolaru <mircea@gcc.gnu.org>2014-11-15 15:37:49 +0000
commit20d3465bd00c4d6f472e3982fbeb5fa1b9c2f2d2 (patch)
tree5205bdb5761945fee1b6c762aab0ed2eca3079be /gcc/graphite-poly.c
parentcf4600ed3651d50dee80df07a7ea4d0e36cecedf (diff)
downloadgcc-20d3465bd00c4d6f472e3982fbeb5fa1b9c2f2d2.tar.gz
New unroll and jam option in Graphite.
From-SVN: r217604
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r--gcc/graphite-poly.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 8ab0cb57c03..77ccc3d605f 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -272,7 +272,7 @@ apply_poly_transforms (scop_p scop)
/* This pass needs to be run at the final stage, as it does not
update the lst. */
- if (flag_loop_optimize_isl)
+ if (flag_loop_optimize_isl || flag_loop_unroll_jam)
transform_done |= optimize_isl (scop);
return transform_done;
@@ -323,6 +323,7 @@ new_poly_bb (scop_p scop, void *black_box)
pbb->schedule = NULL;
pbb->transformed = NULL;
pbb->saved = NULL;
+ pbb->map_sepclass = NULL;
PBB_SCOP (pbb) = scop;
pbb_set_black_box (pbb, black_box);
PBB_TRANSFORMED (pbb) = NULL;