Commit 26eeea94 by Jan Hubicka Committed by Jan Hubicka

* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.

From-SVN: r116909
parent 7e721950
2006-09-13 Jan Hubicka <jh@suse.cz>
* cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
2006-09-12 Eric Botcazou <ebotcazou@libertysurf.fr>
PR rtl-optimization/28243
......
......@@ -1054,6 +1054,8 @@ compute_dominance_frontiers_1 (bitmap *frontiers)
domsb = get_immediate_dominator (CDI_DOMINATORS, b);
while (runner != domsb)
{
if (bitmap_bit_p (frontiers[runner->index], b->index))
break;
bitmap_set_bit (frontiers[runner->index],
b->index);
runner = get_immediate_dominator (CDI_DOMINATORS,
......
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