This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove store copy-prop, subsumed by new value numbering


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]