]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
CDI_POST_DOMINATORS are not used in Graphite.
authorSebastian Pop <sebastian.pop@amd.com>
Thu, 30 Sep 2010 21:21:08 +0000 (21:21 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 30 Sep 2010 21:21:08 +0000 (21:21 +0000)
2010-09-20  Sebastian Pop  <sebastian.pop@amd.com>

* 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.

From-SVN: r164807

gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/graphite-clast-to-gimple.c
gcc/sese.h

index 914740ab0b2cd6b197cede97c45fcc4beeccb7f2..1df0cb0d7eb2e9e3ba9880fed3be397b1516d653 100644 (file)
@@ -1,3 +1,12 @@
+2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * 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  <sebastian.pop@amd.com>
 
        * graphite-poly.c (pbb_number_of_iterations_at_time): Only iterate
index 3eaf807484a3a361886bd61fa42ef95278fe5fdf..997df9b092958566d14dd061ecc86634ba3f3b2d 100644 (file)
@@ -1,3 +1,12 @@
+2010-09-20  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * 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  <sebastian.pop@amd.com>
 
        * graphite-poly.c (pbb_number_of_iterations_at_time): Only iterate
index 6fde344a5bfde11aea2e49b0ec47608b5fab273c..0e2ec80b235826a037c7dd3f46dcf3322031811f 100644 (file)
@@ -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
 }
index f10030c67a814ea441e694187414d33274684b31..8277f68ae7ededf5e569e43bb16a9b44598e383d 100644 (file)
@@ -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