diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/tree-loop-distribution.c | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30bbeb5..9b6beb8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-10-10 Bin Cheng <bin.cheng@arm.com> + + * tree-loop-distribution.c (struct partition): Remove unused field + loops of the structure. + (partition_alloc, partition_free): Ditto. + (build_rdg_partition_for_vertex): Ditto. + 2017-10-09 Jeff Law <law@redhat.com> * targhooks.c (default_stack_clash_protection_final_dynamic_probe): Fix diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index 26b8b9a..3db3d6e 100644 --- a/gcc/tree-loop-distribution.c +++ b/gcc/tree-loop-distribution.c @@ -593,8 +593,6 @@ struct partition { /* Statements of the partition. */ bitmap stmts; - /* Loops of the partition. */ - bitmap loops; /* True if the partition defines variable which is used outside of loop. */ bool reduction_p; /* For builtin partition, true if it executes one iteration more than @@ -619,7 +617,6 @@ partition_alloc (void) { partition *partition = XCNEW (struct partition); partition->stmts = BITMAP_ALLOC (NULL); - partition->loops = BITMAP_ALLOC (NULL); partition->reduction_p = false; partition->kind = PKIND_NORMAL; partition->datarefs = BITMAP_ALLOC (NULL); @@ -632,7 +629,6 @@ static void partition_free (partition *partition) { BITMAP_FREE (partition->stmts); - BITMAP_FREE (partition->loops); BITMAP_FREE (partition->datarefs); free (partition); } @@ -1279,8 +1275,6 @@ build_rdg_partition_for_vertex (struct graph *rdg, int v) FOR_EACH_VEC_ELT (nodes, i, x) { bitmap_set_bit (partition->stmts, x); - bitmap_set_bit (partition->loops, - loop_containing_stmt (RDG_STMT (rdg, x))->num); for (j = 0; RDG_DATAREFS (rdg, x).iterate (j, &dr); ++j) { |