Commit a1c7f471 by Kazu Hirata Committed by Kazu Hirata

tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable removed_phis.

	* tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable
	removed_phis.

From-SVN: r96335
parent 84f464e5
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
* tree-ssa.c (kill_redundant_phi_nodes): Remove local variable * tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
var. var.
* tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable
removed_phis.
2005-03-12 Geoffrey Keating <geoffk@apple.com> 2005-03-12 Geoffrey Keating <geoffk@apple.com>
* c-lex.c (c_lex_with_flags): Add parameter to call to * c-lex.c (c_lex_with_flags): Add parameter to call to
......
...@@ -110,7 +110,6 @@ static void ...@@ -110,7 +110,6 @@ static void
tree_ssa_phiopt (void) tree_ssa_phiopt (void)
{ {
basic_block bb; basic_block bb;
bool removed_phis = false;
/* Search every basic block for COND_EXPR we may be able to optimize /* Search every basic block for COND_EXPR we may be able to optimize
in reverse order so we can find more. */ in reverse order so we can find more. */
...@@ -191,9 +190,6 @@ tree_ssa_phiopt (void) ...@@ -191,9 +190,6 @@ tree_ssa_phiopt (void)
|| value_replacement (bb, bb1, bb2, e1, e2, phi, arg0, arg1) || value_replacement (bb, bb1, bb2, e1, e2, phi, arg0, arg1)
|| abs_replacement (bb, bb1, bb2, e1, e2, phi, arg0, arg1)) || abs_replacement (bb, bb1, bb2, e1, e2, phi, arg0, arg1))
{ {
/* We have done the replacement so we need to rebuild the
cfg when this pass is complete. */
removed_phis = true;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment