Commit 33444996 by Felix Yang Committed by Jeff Law

modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it is newly allocated.

2014-01-02  Felix Yang  <fei.yang0953@gmail.com>

	* modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
	is newly allocated.

From-SVN: r206366
parent 892c4745
2014-01-02 Felix Yang <fei.yang0953@gmail.com>
* modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
is newly allocated.
2014-01-06 Richard Earnshaw <rearnsha@arm.com>
* aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
......
......@@ -766,6 +766,9 @@ schedule_reg_moves (partial_schedule_ptr ps)
distance1_uses = distances[1] ? sbitmap_alloc (g->num_nodes) : NULL;
if (distance1_uses)
bitmap_clear (distance1_uses);
/* Every use of the register defined by node may require a different
copy of this register, depending on the time the use is scheduled.
Record which uses require which move results. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment