OSDN Git Service

2009-08-28 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:30:09 +0000 (20:30 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:30:09 +0000 (20:30 +0000)
* graphite-dependences.c (graphite_carried_dependence_level_k): Do
not delete the original dependence relation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151182 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/graphite-dependences.c

index 09a8259..9e717e0 100644 (file)
@@ -1,5 +1,10 @@
 2009-08-28  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * graphite-dependences.c (graphite_carried_dependence_level_k): Do
+       not delete the original dependence relation.
+
+2009-08-28  Sebastian Pop  <sebastian.pop@amd.com>
+
        * graphite-dependences.c (new_poly_dr_pair): Renamed new_poly_ddr.
        (eq_poly_dr_pair_p): Renamed eq_poly_ddr_p.
        (hash_poly_dr_pair_p): Renamed hash_poly_ddr_p.
index f67bb35..a2620d3 100644 (file)
@@ -1,3 +1,14 @@
+2009-08-22  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-dependences.c (graphite_carried_dependence_level_k): Do
+       not delete the original dependence relation.
+
+2009-08-21  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-dependences.c (graphite_legal_transform_bb): Avoid
+       the computation of symmetric data dependence relations.
+       (dependency_between_pbbs_p): Same.
+
 2009-08-21  Sebastian Pop  <sebastian.pop@amd.com>
 
        * graphite-dependences.c (new_poly_dr_pair): Renamed new_poly_ddr.
index 5d7b50b..585e072 100644 (file)
@@ -576,7 +576,7 @@ graphite_legal_transform_bb (poly_bb_p pbb1, poly_bb_p pbb2)
   for (i = 0; VEC_iterate (poly_dr_p, PBB_DRS (pbb1), i, pdr1); i++)
     for (j = 0; VEC_iterate (poly_dr_p, PBB_DRS (pbb2), j, pdr2); j++)
       if (!graphite_legal_transform_dr (pbb1, pbb2, pdr1, pdr2))
-        return false;
+       return false;
 
   return true;
 }
@@ -698,13 +698,9 @@ graphite_carried_dependence_level_k (poly_dr_p pdr1, poly_dr_p pdr2,
                                true, false);
 
   if (pddr_is_empty (pddr))
-    {
-      ppl_delete_Pointset_Powerset_C_Polyhedron (po);
-      return false;
-    }
+    return false;
 
   po = PDDR_DDP (pddr);
-
   ppl_Pointset_Powerset_C_Polyhedron_space_dimension (po, &dim);
   eqpp = build_pairwise_scheduling_inequality (dim, level, tdim1 + ddim1, 1);