diff options
author | Maya Rashish <coypu@sdf.org> | 2019-10-04 15:43:07 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-10-04 09:43:07 -0600 |
commit | 0046f8d750560275c3d82179244b45412073d626 (patch) | |
tree | 1f7557c73ff38264503d7746f030a189a480590e /gcc | |
parent | 2fc115875e063ec6eb2af2a9634e018a83ffa3b6 (diff) | |
download | gcc-0046f8d750560275c3d82179244b45412073d626.zip gcc-0046f8d750560275c3d82179244b45412073d626.tar.gz gcc-0046f8d750560275c3d82179244b45412073d626.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ira-color.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bc2aab..1274b64 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gcc/ira-color.c b/gcc/ira-color.c index ce5141b..e38c167 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] |