OSDN Git Service

* sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jan 2010 11:19:25 +0000 (11:19 +0000)
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jan 2010 11:19:25 +0000 (11:19 +0000)
        all successors is the same as number of successors in current region.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155899 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/sel-sched.c

index 26fedcc..b45aa5a 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 a1a0ec0..9271b80 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