On 10/16/2017 04:56 AM, Wilco Dijkstra wrote:
> This patch cleans up autopref scheduling.
> 
> The code is greatly simplified.  Sort accesses on the offset first, and
> only if the offsets are the same fall back to other comparisons in
> rank_for_schedule.  This doesn't at all restore the original behaviour
> since we no longer compare the base address, but it now defines a total
> sorting order.  More work will be required to improve the sorting so
> that only loads/stores with the same base are affected.
> 
> AArch64 bootstrap completes.
> 
> OK for commit?
> 
> ChangeLog:
> 2017-10-03  Wilco Dijkstra  <wdijk...@arm.com>
> 
>         PR rtl-optimization/82396
>         * gcc/haifa-sched.c (autopref_multipass_init): Simplify
>         initialization.
>         (autopref_rank_data): Simplify sort order.
>         * gcc/sched-int.h (autopref_multipass_data_): Remove
>         multi_mem_insn_p, min_offset and max_offset.
OK. Sorry for the delay.

jeff

Reply via email to