From: Maya Rashish Date: Fri, 4 Oct 2019 15:43:07 +0000 (+0000) Subject: ira-color.c (update_costs_from_allocno): Call ira_init_register_move_cost_if_necessary. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0046f8d750560275c3d82179244b45412073d626;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bc2aab1288..1274b648b8b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-04 Maya Rashish + + * ira-color.c (update_costs_from_allocno): Call + ira_init_register_move_cost_if_necessary. + 2019-10-04 Jeff Law * config/h8300/h8300.md (cpymemsi): Disable. diff --git a/gcc/ira-color.c b/gcc/ira-color.c index ce5141bd48f..e38c167ebc4 100644 --- a/gcc/ira-color.c +++ b/gcc/ira-color.c @@ -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]