* ira-color.c (update_costs_from_allocno): Call
ira_init_register_move_cost_if_necessary.
From-SVN: r276587
+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.
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]