backport: sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors is the same as number of successors...

Backport from mainline:
        * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
         all successors is the same as number of successors in current region.

From-SVN: r163512
This commit is contained in:
Andrey Belevantsev 2010-08-24 13:06:59 +04:00 committed by Andrey Belevantsev
parent 93e66df2e3
commit b568511a1a
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2010-08-24 Andrey Belevantsev <abel@ispras.ru>
Backport from mainline:
2010-01-14 Andrey Belevantsev <abel@ispras.ru>
* sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
all successors is the same as number of successors in current region.
2010-08-24 Andrey Belevantsev <abel@ispras.ru>
Backport from mainline:

View File

@ -2689,8 +2689,7 @@ compute_av_set_at_bb_end (insn_t insn, ilist_t p, int ws)
VEC_index (int, sinfo->probs_ok, is),
sinfo->all_prob);
if (sinfo->all_succs_n > 1
&& sinfo->all_succs_n == sinfo->succs_ok_n)
if (sinfo->all_succs_n > 1)
{
/* Find EXPR'es that came from *all* successors and save them
into expr_in_all_succ_branches. This set will be used later