OSDN Git Service

2009-10-17 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:13:57 +0000 (05:13 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:13:57 +0000 (05:13 +0000)
* graphite-poly.c (pbb_remove_duplicate_pdrs): Initialize
PBB_PDR_DUPLICATES_REMOVED.
(new_poly_bb): Same.

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

gcc/ChangeLog.graphite
gcc/graphite-poly.c

index d15f043..836ef0d 100644 (file)
@@ -1,5 +1,11 @@
 2009-10-17  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * graphite-poly.c (pbb_remove_duplicate_pdrs): Initialize
+       PBB_PDR_DUPLICATES_REMOVED.
+       (new_poly_bb): Same.
+
+2009-10-17  Sebastian Pop  <sebastian.pop@amd.com>
+
        * graphite-sese-to-poly.c (find_scop_parameters): Initialize
        SCOP_CONTEXT.
        (build_loop_iteration_domains): Extract bounds on parameters
index 17d8881..bed662a 100644 (file)
@@ -305,6 +305,8 @@ pbb_remove_duplicate_pdrs (poly_bb_p pbb)
     for (j = 0; VEC_iterate (poly_dr_p, collapsed, j, pdr2); j++)
       if (!can_collapse_pdrs (pdr1, pdr2))
        VEC_quick_push (poly_dr_p, collapsed, pdr1);
+
+  PBB_PDR_DUPLICATES_REMOVED (pbb) = true;
 }
 
 /* Create a new polyhedral data reference and add it to PBB.  It is
@@ -354,6 +356,7 @@ new_poly_bb (scop_p scop, void *black_box, bool reduction)
   PBB_ORIGINAL (pbb) = NULL;
   PBB_DRS (pbb) = VEC_alloc (poly_dr_p, heap, 3);
   PBB_IS_REDUCTION (pbb) = reduction;
+  PBB_PDR_DUPLICATES_REMOVED (pbb) = false;
   VEC_safe_push (poly_bb_p, heap, SCOP_BBS (scop), pbb);
 }