This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove store copy-prop, subsumed by new value numbering
- From: Richard Guenther <rguenther at suse dot de>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Oct 2007 22:20:20 +0100 (CET)
- Subject: Re: [PATCH] Remove store copy-prop, subsumed by new value numbering
- References: <Pine.LNX.4.64.0708211652580.13885@s68.fhfr.qr> <b798aad50710290955m57c8ceebmedc8fe102a4390b2@mail.gmail.com>
On Mon, 29 Oct 2007, Diego Novillo wrote:
> On 8/21/07, Richard Guenther <rguenther@suse.de> wrote:
>
> > * passes.c (init_optimization_passes): Exchange store_copy_prop
> > with copy_prop.
> > * tree-pass.h (pass_store_copy_prop): Remove.
> > * tree-ssa-copy.c (do_store_copy_prop): Remove.
> > (stmt_may_generate-copy): Do not handle store_copy_prop.
> > (get_copy_of_val): Likewise.
> > (set_copy_of_val): Likewise.
> > (copy_prop_visit_assignment): Likewise.
> > (copy_prop_visit_stmt): Likewise.
> > (copy_prop_visit_phi_node): Likewise.
> > (init_copy_prop): Likewise.
> > (execute_copy_prop): Likewise.
> > (do_copy_prop): Remove.
> > (gate_store_copy_prop): Likewise.
> > (store_copy_prop): Likewise.
> > (pass_store_copy_prop): Likewise.
> > (pass_copy_prop): Call execute_copy_prop.
> > * opts.c (decode_options): Do not set flag_tree_store_copy_prop.
> > * common.opt (ftree-store-copy-prop): Mark obsolete.
> > * doc/invoke.texi (ftree-store-copy-prop): Remove documentation.
> >
> > * gcc.dg/tree-ssa/ssa-copyprop-1.c: Scan optimized dump.
>
> OK.
>
> Diego.
Re-bootstrapped and tested on x86_64-unknown-linux-gnu, applied to
mainline.
Richard.