Commit 4e3f3c46 by Andrey Belevantsev Committed by Andrey Belevantsev

re PR rtl-optimization/89676 (Redundant moves for long long shift on 32bit x86)

        PR middle-end/89676
        * sel-sched.c (compute_av_set_at_bb_end): When we have an ineligible
        successor, use NULL as its av set.

From-SVN: r269751
parent 7e703f01
2019-03-18 Andrey Belevantsev <abel@ispras.ru>
PR middle-end/89676
* sel-sched.c (compute_av_set_at_bb_end): When we have an ineligible
successor, use NULL as its av set.
2019-03-15 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/89721
......
......@@ -2820,10 +2820,12 @@ compute_av_set_at_bb_end (insn_t insn, ilist_t p, int ws)
FOR_EACH_VEC_ELT (sinfo->succs_ok, is, succ)
{
basic_block succ_bb = BLOCK_FOR_INSN (succ);
av_set_t av_succ = (is_ineligible_successor (succ, p)
? NULL
: BB_AV_SET (succ_bb));
gcc_assert (BB_LV_SET_VALID_P (succ_bb));
mark_unavailable_targets (av1, BB_AV_SET (succ_bb),
BB_LV_SET (succ_bb));
mark_unavailable_targets (av1, av_succ, BB_LV_SET (succ_bb));
}
/* Finally, check liveness restrictions on paths leaving the region. */
......
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