This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make some passes work on the CFG instead of on the insns stream(updated)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Steven Bosscher <stevenb at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 14 May 2004 19:16:11 -0600 (MDT)
- Subject: Re: Make some passes work on the CFG instead of on the insns stream(updated)
On Fri, 14 May 2004, Steven Bosscher wrote:
> * basic-block.h (life_analysis, delete_noop_moves):
> Update prototypes.
> * bt-load.c (branch_target_load_optimize): Don't take the
> insns stream as an argument. Update the life_analysis calls.
> * combine.c (combine_instructions): Update delete_noop_moves
> calls.
> * flow.c (notice_stack_pointer_modification): Don't take the
> insns stream as an argument. Work on the flow graph.
> (life_analysis): Likewise.
> (delete_noop_moves): Likewise.
> * passes.c (rest_of_handle_stack_regs): Update reg_to_stack call.
> (rest_of_handle_life): Update life_analysis call.
> (rest_of_compilation): Likewise, and also update
> branch_target_load_optimize call.
> * ra.c (reg_alloc): Update life_analysis call.
> * reg-stack.c (reg_to_stack): Likewise. Also, don't take
> the insns stream as an argument.
> * regrename.c (copyprop_hardreg_forward): Update delete_noop_moves
> call.
> * rtl.c (branch_target_load_optimize, reg_to_stack): Update
> prototypes.
> * value-profile.c (branch_prob): Update life_analysis call.
> * web.c (web_main): Work on the CFG, not on the insns stream.
>
> * config/ip2k/ip2k.c (ip2k_reorg): Update life_analysis calls.
> * config/m68hc11/m68hc11.c (m68hc11_reorg): Likewise.
> * config/sh/sh.c (sh_output_mi_thunk): Likewise.
>
> OK for mainline?
This is Ok for mainline. Given both Diego's and Eric's support, who
could refuse :>
Roger
--