From c0baaa7abb8c4898dd80a7000d60b6c2f974eb0c Mon Sep 17 00:00:00 2001 From: spop Date: Thu, 30 Sep 2010 21:21:08 +0000 Subject: [PATCH] CDI_POST_DOMINATORS are not used in Graphite. 2010-09-20 Sebastian Pop * graphite-clast-to-gimple.c (graphite_verify): Remove call to verify_dominators for CDI_POST_DOMINATORS. * sese.h: Remove comment about CDI_POST_DOMINATORS. (recompute_all_dominators): Remove call to free_dominance_info for CDI_POST_DOMINATORS. Remove call to calculate_dominance_info for CDI_POST_DOMINATORS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164807 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 +++++++++ gcc/ChangeLog.graphite | 9 +++++++++ gcc/graphite-clast-to-gimple.c | 1 - gcc/sese.h | 6 ------ 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 914740a..1df0cb0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,14 @@ 2010-09-30 Sebastian Pop + * graphite-clast-to-gimple.c (graphite_verify): Remove call to + verify_dominators for CDI_POST_DOMINATORS. + * sese.h: Remove comment about CDI_POST_DOMINATORS. + (recompute_all_dominators): Remove call to free_dominance_info + for CDI_POST_DOMINATORS. Remove call to calculate_dominance_info + for CDI_POST_DOMINATORS. + +2010-09-30 Sebastian Pop + * graphite-poly.c (pbb_number_of_iterations_at_time): Only iterate over pbb_dim_iter_domain. diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 3eaf807..997df9b 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,12 @@ +2010-09-20 Sebastian Pop + + * graphite-clast-to-gimple.c (graphite_verify): Remove call to + verify_dominators for CDI_POST_DOMINATORS. + * sese.h: Remove comment about CDI_POST_DOMINATORS. + (recompute_all_dominators): Remove call to free_dominance_info + for CDI_POST_DOMINATORS. Remove call to calculate_dominance_info + for CDI_POST_DOMINATORS. + 2010-09-09 Sebastian Pop * graphite-poly.c (pbb_number_of_iterations_at_time): Only iterate diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c index 6fde344..0e2ec80 100644 --- a/gcc/graphite-clast-to-gimple.c +++ b/gcc/graphite-clast-to-gimple.c @@ -67,7 +67,6 @@ graphite_verify (void) #ifdef ENABLE_CHECKING verify_loop_structure (); verify_dominators (CDI_DOMINATORS); - verify_dominators (CDI_POST_DOMINATORS); verify_loop_closed_ssa (true); #endif } diff --git a/gcc/sese.h b/gcc/sese.h index f10030c..8277f68 100644 --- a/gcc/sese.h +++ b/gcc/sese.h @@ -94,10 +94,6 @@ bb_in_region (basic_block bb, basic_block entry, basic_block exit) predecessors of EXIT are dominated by ENTRY. */ FOR_EACH_EDGE (e, ei, exit->preds) dominated_by_p (CDI_DOMINATORS, e->src, entry); - - /* Check that there are no edges going out of the region: the - entry is post-dominated by the exit. FIXME: This cannot be - checked right now as the CDI_POST_DOMINATORS are needed. */ } #endif @@ -310,9 +306,7 @@ recompute_all_dominators (void) { mark_irreducible_loops (); free_dominance_info (CDI_DOMINATORS); - free_dominance_info (CDI_POST_DOMINATORS); calculate_dominance_info (CDI_DOMINATORS); - calculate_dominance_info (CDI_POST_DOMINATORS); } typedef struct gimple_bb -- 2.7.4