summaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-20 19:20:39 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-20 19:20:39 +0000
commit9cd34e719d4f1a2790b05dc1a67a6c9301b86787 (patch)
tree927e668d4041aad3c145ef07614cb36fd0edcd0f /gcc/tree-pass.h
parent373e3a5d127041d9f52d61e90cfadef942c87d34 (diff)
downloadgcc-9cd34e719d4f1a2790b05dc1a67a6c9301b86787.tar.gz
PR tree-optimization/15349
* timevar.def (TV_TREE_MERGE_PHI): New. * tree-cfg.c (tree_forwarder_block_p): Add a new argument PHI_WANTED. (remove_forwarder_block, cleanup_forwarder_blocks): Adjust the calls to tree_forwarder_block_p. (remove_forwarder_block_with_phi, merge_phi_nodes, gate_merge_phi, pass_merge_phi): New. * tree-optimize.c (init_tree_optimization_passes): Add pass_merge_phi. * tree-pass.h: Add an extern for pass_merge_phi; PR tree-optimization/15349 * testsuite/gcc.dg/tree-ssa/pr15349.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93977 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 3ad4cbb7be1..8a800e7f707 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -142,6 +142,7 @@ extern struct tree_opt_pass pass_del_ssa;
extern struct tree_opt_pass pass_dominator;
extern struct tree_opt_pass pass_dce;
extern struct tree_opt_pass pass_cd_dce;
+extern struct tree_opt_pass pass_merge_phi;
extern struct tree_opt_pass pass_may_alias;
extern struct tree_opt_pass pass_split_crit_edges;
extern struct tree_opt_pass pass_pre;