This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: dead code removal in flow.c cleanup
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 5 Mar 2002 10:09:56 -0800
- Subject: Re: dead code removal in flow.c cleanup
- References: <20020303182157.GC21438@atrey.karlin.mff.cuni.cz>
On Sun, Mar 03, 2002 at 07:21:57PM +0100, Jan Hubicka wrote:
> * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
> delete_noop_moves): Return indeger.
> * flow.c (ndead): New variable.
> (propagate_block_delete_insn): Use delete_insn_and_edges; remove
> BB argument; update callers.
> (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
> (life_analysis): Do not call purge_all_dead_edges.
> (update_life_info): Return number of deleted insns; print statistics.
> (update_life_info_in_dirty_blocks): likewise.
> (delete_noop_moves): Use delete_insn_and_edges; print statistics;
> return number of insns deleted.
Ok.
r~