aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-clast-to-gimple.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/graphite-clast-to-gimple.c')
-rw-r--r--gcc/graphite-clast-to-gimple.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c
index bf540a2..5da15e0 100644
--- a/gcc/graphite-clast-to-gimple.c
+++ b/gcc/graphite-clast-to-gimple.c
@@ -1160,7 +1160,11 @@ gloog (scop_p scop, htab_t bb_pbb_mapping)
sese region = SCOP_REGION (scop);
ifsese if_region = NULL;
htab_t rename_map, newivs_index;
- cloog_prog_clast pc = scop_to_clast (scop);
+ cloog_prog_clast pc;
+
+ timevar_push (TV_GRAPHITE_CODE_GEN);
+
+ pc = scop_to_clast (scop);
if (dump_file && (dump_flags & TDF_DETAILS))
{
@@ -1206,6 +1210,8 @@ gloog (scop_p scop, htab_t bb_pbb_mapping)
VEC_free (tree, heap, newivs);
cloog_clast_free (pc.stmt);
cloog_program_free (pc.prog);
+ timevar_pop (TV_GRAPHITE_CODE_GEN);
+
return true;
}