]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 a3b62419fed115ae16cf582212660f1733dddfce..7dabced78e2c4441d3aa8f7885d8f445227a3c35 100644 (file)
@@ -1,3 +1,10 @@
+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>
 
index 39d2da092760ee83f1599cfb75c8b7b621c7d02d..efa39bfd0a6063d8d3b2dd83ed3cf0f285a226ff 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 b9d68c872d4e7c56186c340f769a7f054f90f106..2f36dedee4556286848716adadc6ba5cd553547c 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);