From 0473915e63175064c9b6c739841bc670c782cdbd Mon Sep 17 00:00:00 2001 From: Abderrazek Zaafrani Date: Sat, 7 Nov 2015 01:32:27 +0000 Subject: add original schedule to scop * graphite-optimize-isl.c (optimize_isl): Call isl_union_map_is_equal. * graphite-poly.c (new_scop): Initialize original_schedule. (free_scop): Free original_schedule. * graphite-poly.h (struct scop): Add field original_schedule. * graphite-sese-to-poly.c (build_scop_original_schedule): New. (build_poly_scop): Call build_scop_original_schedule. From-SVN: r229910 --- gcc/graphite-poly.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/graphite-poly.h') diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h index 5298f85..b35431a 100644 --- a/gcc/graphite-poly.h +++ b/gcc/graphite-poly.h @@ -436,6 +436,9 @@ struct scop *must_war, *may_war, *must_war_no_source, *may_war_no_source, *must_waw, *may_waw, *must_waw_no_source, *may_waw_no_source; + /* Original schedule of the SCoP. */ + isl_union_map *original_schedule; + /* True when the scop has been converted to its polyhedral representation. */ bool poly_scop_p; -- cgit v1.1