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: "Diego Novillo" <dnovillo at google dot com>
- To: "Richard Guenther" <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Oct 2007 12:55:23 -0400
- Subject: Re: [PATCH] Remove store copy-prop, subsumed by new value numbering
- References: <Pine.LNX.4.64.0708211652580.13885@s68.fhfr.qr>
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.