summaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-05 16:03:09 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-05 16:03:09 +0000
commit118a202b44684686299fe032ed10e714f7943f56 (patch)
treed14d522a2c05e6cb729f8267bbff38471e619564 /gcc/graphite.c
parentedbec0125f7d0b80b1585872b3084635a06d18c6 (diff)
downloadgcc-118a202b44684686299fe032ed10e714f7943f56.tar.gz
move param detection to scop detection
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228493 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index a957d93a3ec..1188c243b1c 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -278,6 +278,20 @@ graphite_finalize (bool need_cfg_cleanup_p)
print_loops (dump_file, 3);
}
+/* Deletes all scops in SCOPS. */
+
+static void
+free_scops (vec<scop_p> scops)
+{
+ int i;
+ scop_p scop;
+
+ FOR_EACH_VEC_ELT (scops, i, scop)
+ free_scop (scop);
+
+ scops.release ();
+}
+
isl_ctx *the_isl_ctx;
/* Perform a set of linear transforms on the loops of the current