Skip to content
Snippets Groups Projects
Commit 421828b0 authored by law's avatar law
Browse files

* 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
parent 3b918afe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment