+2017-02-14 Martin Liska <mliska@suse.cz>
+
+ * tree-ssa-loop-unswitch.c (hoist_guard): Release get_loop_body
+ vector. Fix trailing white spaces.
+
2017-02-14 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (aarch64_simd_container_mode): Handle
/* Create new loop pre-header. */
e = split_block (pre_header, last_stmt (pre_header));
if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, " Moving guard %i->%i (prob %i) to bb %i, "
+ fprintf (dump_file, " Moving guard %i->%i (prob %i) to bb %i, "
"new preheader is %i\n",
guard->src->index, guard->dest->index, guard->probability,
e->src->index, e->dest->index);
/* ... finally scale everything in the loop except for guarded basic blocks
where profile does not change. */
basic_block *body = get_loop_body (loop);
-
+
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, " Scaling nonguarded BBs in loop:");
for (unsigned int i = 0; i < loop->num_nodes; i++)
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "\n guard hoisted.\n");
+
+ free (body);
}
/* Return true if phi argument for exit edge can be used