From 04974e1a97bf2c306a67abc1f05ef697a4bd34c5 Mon Sep 17 00:00:00 2001 From: Marcin Dalecki Date: Tue, 12 Dec 2006 21:09:46 +0100 Subject: [PATCH] passes.texi: remove docs about "redundant PHI removal". 2006-12-12 Marcin Dalecki * doc/passes.texi: remove docs about "redundant PHI removal". * tree-pass.h: remove orphaned declaration of pass_redundant_phi. From-SVN: r119794 --- gcc/ChangeLog | 5 +++++ gcc/doc/passes.texi | 8 -------- gcc/tree-pass.h | 1 - 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d9e396a1db..355b9ac84ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-12 Marcin Dalecki + + * doc/passes.texi: remove docs about "redundant PHI removal". + * tree-pass.h: remove orphaned declaration of pass_redundant_phi. + 2006-12-12 Andrew Macleod PR tree-optimization/30159 diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi index fc6aa2696a4..90c9448c2c1 100644 --- a/gcc/doc/passes.texi +++ b/gcc/doc/passes.texi @@ -295,14 +295,6 @@ expression simplification, and jump threading. It is run multiple times throughout the optimization process. It it located in @file{tree-ssa-dom.c} and is described by @code{pass_dominator}. -@item Redundant PHI elimination - -This pass removes PHI nodes for which all of the arguments are the same -value, excluding feedback. Such degenerate forms are typically created -by removing unreachable code. The pass is run multiple times throughout -the optimization process. It is located in @file{tree-ssa.c} and is -described by @code{pass_redundant_phi}.o - @item Forward propagation of single-use variables This pass attempts to remove redundant computation by substituting diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index bed7c33ecb7..1d2ae9404bd 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -285,7 +285,6 @@ extern struct tree_opt_pass pass_warn_function_return; extern struct tree_opt_pass pass_warn_function_noreturn; extern struct tree_opt_pass pass_phiopt; extern struct tree_opt_pass pass_forwprop; -extern struct tree_opt_pass pass_redundant_phi; extern struct tree_opt_pass pass_dse; extern struct tree_opt_pass pass_nrv; extern struct tree_opt_pass pass_mark_used_blocks; -- 2.30.2