remove unused variable
authorAditya Kumar <aditya.k7@samsung.com>
Thu, 21 Jan 2016 02:12:37 +0000 (02:12 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jan 2016 02:12:37 +0000 (02:12 +0000)
* graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
* graphite.h (struct poly_bb): Remove field is_reduction.
        (PBB_IS_REDUCTION): Remove.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r232651

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

index a3b6241..7dabced 100644 (file)
@@ -1,6 +1,13 @@
 2016-01-21  Aditya Kumar  <aditya.k7@samsung.com>
            Sebastian Pop  <s.pop@samsung.com>
 
+       * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
+       * graphite.h (struct poly_bb): Remove field is_reduction.
+        (PBB_IS_REDUCTION): Remove.
+
+2016-01-21  Aditya Kumar  <aditya.k7@samsung.com>
+           Sebastian Pop  <s.pop@samsung.com>
+
        * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
        (add_pdr_constraints): Same.
        (scop_get_reads): Same.
index 39d2da0..efa39bf 100644 (file)
@@ -164,7 +164,6 @@ new_poly_bb (scop_p scop, gimple_poly_bb_p black_box)
   PBB_SCOP (pbb) = scop;
   pbb_set_black_box (pbb, black_box);
   PBB_DRS (pbb).create (3);
-  PBB_IS_REDUCTION (pbb) = false;
   GBB_PBB ((gimple_poly_bb_p) black_box) = pbb;
 
   return pbb;
index b9d68c8..2f36ded 100644 (file)
@@ -281,9 +281,6 @@ struct poly_bb
   /* A copy of the transformed scattering.  */
   isl_map *saved;
 
-  /* True when this PBB contains only a reduction statement.  */
-  bool is_reduction;
-
   /* The last basic block generated for this pbb.  */
   basic_block new_bb;
 };
@@ -291,7 +288,6 @@ struct poly_bb
 #define PBB_BLACK_BOX(PBB) ((gimple_poly_bb_p) PBB->black_box)
 #define PBB_SCOP(PBB) (PBB->scop)
 #define PBB_DRS(PBB) (PBB->drs)
-#define PBB_IS_REDUCTION(PBB) (PBB->is_reduction)
 
 extern poly_bb_p new_poly_bb (scop_p, gimple_poly_bb_p);
 extern void free_poly_bb (poly_bb_p);