Commit 608af77d by Jeff Law Committed by Jeff Law

tree-ssa-dom.c (tree_ssa_dominator_optimize): Be more selective about when to iterate.

        * tree-ssa-dom.c (tree_ssa_dominator_optimize): Be more selective
        about when to iterate.

From-SVN: r104658
parent a3507477
2005-09-26 Jeff Law <law@redhat.com>
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Be more selective
about when to iterate.
2005-09-23 Fariborz Jahanian <fjahanian@apple.com>
PR target/23847
......
......@@ -479,7 +479,11 @@ tree_ssa_dominator_optimize (void)
if (cfg_altered)
free_dominance_info (CDI_DOMINATORS);
cfg_altered = cleanup_tree_cfg ();
/* Only iterate if we threaded jumps AND the CFG cleanup did
something interesting. Other cases generate far fewer
optimization opportunities and thus are not worth another
full DOM iteration. */
cfg_altered &= cleanup_tree_cfg ();
if (rediscover_loops_after_threading)
{
......
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