Commit 0046f8d7 by Maya Rashish Committed by Jeff Law

ira-color.c (update_costs_from_allocno): Call ira_init_register_move_cost_if_necessary.

	* ira-color.c (update_costs_from_allocno): Call
	ira_init_register_move_cost_if_necessary.

From-SVN: r276587
parent 2fc11587
2019-10-04 Maya Rashish <coypu@sdf.org>
* ira-color.c (update_costs_from_allocno): Call
ira_init_register_move_cost_if_necessary.
2019-10-04 Jeff Law <law@redhat.com>
* config/h8300/h8300.md (cpymemsi): Disable.
......
......@@ -1372,6 +1372,7 @@ update_costs_from_allocno (ira_allocno_t allocno, int hard_regno,
e.g. DImode for AREG on x86. For such cases the
register move cost will be maximal. */
mode = narrower_subreg_mode (mode, ALLOCNO_MODE (cp->second));
ira_init_register_move_cost_if_necessary (mode);
cost = (cp->second == allocno
? ira_register_move_cost[mode][rclass][aclass]
......
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