From: law Date: Fri, 4 Oct 2019 15:43:07 +0000 (+0000) Subject: * ira-color.c (update_costs_from_allocno): Call X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04254d248421c864bfac02119093c64cd170ccf;p=thirdparty%2Fgcc.git * ira-color.c (update_costs_from_allocno): Call ira_init_register_move_cost_if_necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276587 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bc2aab12887..1274b648b8bf 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 ce5141bd48fe..e38c167ebc4e 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]