This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add an extra reload dump file
- From: Richard Henderson <rth at redhat dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Dec 2011 11:16:13 -0800
- Subject: Re: Add an extra reload dump file
- References: <4EF229E4.6080801@codesourcery.com>
On 12/21/2011 10:48 AM, Bernd Schmidt wrote:
> * tree-pass.h (pass_reload): Declare.
> * ira.c (overall_cost_before, saved_flag_ira_share_spill_slots):
> New global variables, moved out of ira.
> (do_reload): New static function, split off from the second half
> of ...
> (ira): ... here.
> (gate_true): Renamed from gate_ira. All uses changed.
> (pass_ira): Use TV_IRA, and set flags to TODO_dump_func.
> (rest_of_handle_reload): New static function.
> (pass_reload): New.
Looks good to me except for gate_true. That can just be NULL in the pass structure.
r~