]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors...
authorAndrey Belevantsev <abel@ispras.ru>
Thu, 14 Jan 2010 11:19:25 +0000 (14:19 +0300)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Thu, 14 Jan 2010 11:19:25 +0000 (14:19 +0300)
        * 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: r155899

gcc/ChangeLog
gcc/sel-sched.c

index 26fedcca63922227c0595bfcc74b705d80155432..b45aa5ab753c26c68be2eff1ee2cff5f17aae870 100644 (file)
@@ -1,3 +1,8 @@
+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-01-14  Alexander Monakov  <amonakov@ispras.ru>
 
        * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
index a1a0ec06e0d15397cb99d65e89786d12f0c311fa..9271b805a59acd6afe6f93aed8979a3f77c09c28 100644 (file)
@@ -2752,8 +2752,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