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~