This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: patch to solve PR 39762.
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: Vladimir Makarov <vmakarov at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Jeffrey Law <law at redhat dot com>
- Date: Thu, 16 Apr 2009 08:15:05 -0400
- Subject: Re: RFA: patch to solve PR 39762.
- References: <49E65738.6000708@redhat.com>
Approved.
kenny
Vladimir Makarov wrote:
> The problem is described on
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39762
>
>
> The patch has been successfully bootstrapped on x86_64. Ok to commit
> into the trunk?
>
>
> 2009-04-15 Vladimir Makarov <vmakarov@redhat.com>
>
> PR rtl-optimization/39762
> * ira-int.h (ira_register_move_cost, ira_may_move_in_cost,
> ira_may_move_out_cost): Add comments about way of their usage.
> (ira_get_register_move_cost, ira_get_may_move_cost): New
> functions.
> * ira-conflicts.c (process_regs_for_copy): Use function
> ira_get_register_move_cost instead of global
> ira_register_move_cost.
>
> * ira-color.c (update_copy_costs, calculate_allocno_spill_cost,
> color_pass, move_spill_restore, update_curr_costs): Ditto.
>
> * ira-lives.c (process_single_reg_class_operands): Ditto.
>
> * ira-emit.c (emit_move_list): Ditto.
>
> * ira-costs.c (copy_cost): Don't call ira_init_register_move_cost.
> (record_reg_classes): Ditto. Use functions
> ira_get_register_move_cost and ira_get_may_move_cost instead of
> global vars ira_register_move_cost, ira_may_move_out_cost and
> ira_may_move_in_cost.
> (record_address_regs): Don't call ira_init_register_move_cost.
> Use function ira_get_may_move_cost instead of global
> ira_may_move_in_cost.
> (process_bb_node_for_hard_reg_moves): Use function
> ira_get_register_move_cost instead of global
> ira_register_move_cost.
> (ira_costs): Don't call ira_init_register_move_cost.
>