diff options
author | Aditya Kumar <aditya.k7@samsung.com> | 2015-10-05 16:03:09 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2015-10-05 16:03:09 +0000 |
commit | 87ccab5d9c97337980d95a78889c38f6b70fc544 (patch) | |
tree | d14d522a2c05e6cb729f8267bbff38471e619564 /gcc/graphite.c | |
parent | 076d564d3072837b2c008912634d5980f8a3c0e3 (diff) | |
download | gcc-87ccab5d9c97337980d95a78889c38f6b70fc544.zip gcc-87ccab5d9c97337980d95a78889c38f6b70fc544.tar.gz gcc-87ccab5d9c97337980d95a78889c38f6b70fc544.tar.bz2 |
move param detection to scop detection
Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r228493
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index a957d93..1188c24 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 |