diff options
author | Jeff Law <law@redhat.com> | 2005-09-27 12:47:27 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2005-09-27 12:47:27 -0600 |
commit | f20731b7ca20be9dd32d7cf95ddeb9ef6baa4d1c (patch) | |
tree | 6c0678c98499772e377cb3741449d3860e6fd8a0 /gcc/tree-pass.h | |
parent | 3542b7ccd2bfe7d5bf9df0f008eecf4d1858c18d (diff) | |
download | gcc-f20731b7ca20be9dd32d7cf95ddeb9ef6baa4d1c.tar.gz |
passes.c (init_optimization_passes): Replace copy propagation passes immediately after DOM with phi-only copy...
* 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.
From-SVN: r104705
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 57dc029438e..6674884944a 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -275,6 +275,7 @@ extern struct tree_opt_pass pass_sink_code; extern struct tree_opt_pass pass_fre; extern struct tree_opt_pass pass_linear_transform; extern struct tree_opt_pass pass_copy_prop; +extern struct tree_opt_pass pass_phi_only_copy_prop; extern struct tree_opt_pass pass_store_ccp; extern struct tree_opt_pass pass_store_copy_prop; extern struct tree_opt_pass pass_vrp; |