PR jit/63854: Add ira_costs_c_finalize
gcc/ChangeLog: PR jit/63854 * ira-costs.c (ira_costs_c_finalize): New function. * ira.h (ira_costs_c_finalize): New prototype. * toplev.c (toplev::finalize): Call ira_costs_c_finalize. From-SVN: r217800
This commit is contained in:
parent
4c4d052c40
commit
eec424587c
|
@ -1,3 +1,10 @@
|
|||
2014-11-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR jit/63854
|
||||
* ira-costs.c (ira_costs_c_finalize): New function.
|
||||
* ira.h (ira_costs_c_finalize): New prototype.
|
||||
* toplev.c (toplev::finalize): Call ira_costs_c_finalize.
|
||||
|
||||
2014-11-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR jit/63854
|
||||
|
|
|
@ -2356,3 +2356,9 @@ ira_adjust_equiv_reg_cost (unsigned regno, int cost)
|
|||
else
|
||||
regno_equiv_gains[regno] += cost;
|
||||
}
|
||||
|
||||
void
|
||||
ira_costs_c_finalize (void)
|
||||
{
|
||||
this_target_ira_int->free_ira_costs ();
|
||||
}
|
||||
|
|
|
@ -199,4 +199,7 @@ extern bool ira_bad_reload_regno (int, rtx, rtx);
|
|||
|
||||
extern void ira_adjust_equiv_reg_cost (unsigned, int);
|
||||
|
||||
/* ira-costs.c */
|
||||
extern void ira_costs_c_finalize (void);
|
||||
|
||||
#endif /* GCC_IRA_H */
|
||||
|
|
|
@ -2169,6 +2169,7 @@ toplev::finalize (void)
|
|||
gcse_c_finalize ();
|
||||
ipa_cp_c_finalize ();
|
||||
ipa_reference_c_finalize ();
|
||||
ira_costs_c_finalize ();
|
||||
params_c_finalize ();
|
||||
|
||||
finalize_options_struct (&global_options);
|
||||
|
|
Loading…
Reference in New Issue