+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
{
/* 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
{
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);
partition_free (partition *partition)
{
BITMAP_FREE (partition->stmts);
- BITMAP_FREE (partition->loops);
BITMAP_FREE (partition->datarefs);
free (partition);
}
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)
{