From 9cd34e719d4f1a2790b05dc1a67a6c9301b86787 Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 20 Jan 2005 19:20:39 +0000 Subject: 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 --- gcc/tree-pass.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/tree-pass.h') 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; -- cgit v1.2.1