Commit 8f28be81 by Kazu Hirata Committed by Kazu Hirata

tree-cfg.c (cleanup_tree_cfg): Pull a call to cleanup_control_flow() out of the while loop.

	* tree-cfg.c (cleanup_tree_cfg): Pull a call to
	cleanup_control_flow() out of the while loop.

From-SVN: r88395
parent 5f90fc47
2004-10-01 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (cleanup_tree_cfg): Pull a call to
cleanup_control_flow() out of the while loop.
2004-10-01 Paolo Bonzini <bonzini@gnu.org>
* tree-vectorizer.c (vectorizable_operation): Fail unless
......
......@@ -717,16 +717,22 @@ cleanup_tree_cfg (void)
timevar_push (TV_TREE_CLEANUP_CFG);
/* These three transformations can cascade, so we iterate on them until
retval = cleanup_control_flow ();
/* These two transformations can cascade, so we iterate on them until
nothing changes. */
while (something_changed)
{
something_changed = cleanup_control_flow ();
something_changed |= delete_unreachable_blocks ();
something_changed = delete_unreachable_blocks ();
something_changed |= thread_jumps ();
retval |= something_changed;
}
#ifdef ENABLE_CHECKING
if (retval)
gcc_assert (!cleanup_control_flow ());
#endif
/* Merging the blocks creates no new opportunities for the other
optimizations, so do it here. */
merge_seq_blocks ();
......
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