* passes.c (init_optimization_passes): Replace copy propagation
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2005 18:47:27 +0000 (18:47 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2005 18:47:27 +0000 (18:47 +0000)
commit421828b0b5dc7574bccb3ed8a292a6c6e05058ee
tree6c0678c98499772e377cb3741449d3860e6fd8a0
parent3b918afe88944dabe0320865d2550ae001f7950a
   * passes.c (init_optimization_passes): Replace copy propagation
        passes immediately after DOM with phi-only copy propagation
        pases.  Add phi-only copy propagation pass after first DOM pass.
        * tree-pass.h (pass_phi_only_copy_prop): Declare.
        * tree-ssa-copy.c (init_copy_prop): Accept new PHI_ONLY argument.
        If true, then mark all non-control statements with DONT_SIMULATE_AGAIN.
        (execute_copy_prop): Accept new PHI_ONLY argument.  Pass it along
        to init_copy_prop.  Callers updated.
        (do_phi_only_copy_prop): New function.
        (pass_phi_only_copy_prop): New pass descriptor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104705 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/passes.c
gcc/tree-pass.h
gcc/tree-ssa-copy.c