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 can make quite a lot of changes to the RTL, but the debugging dumps
are not very helpful as the .ira dump is produced after reload has run.
The patch below splits off reload into its own pass so that we get two
separate dump files. This makes debugging certain classes of problems a
lot easier.