Maxim Kuvyrkov <maxim.kuvyr...@linaro.org> writes:
> This patch improves model_order_p to use non-reg-pressure version of
> rank_for_schedule when it needs to break the tie.  At the moment it is
> comparing INSN_PRIORITY by itself, and it seems prudent to outsource
> that to rank_for_schedule.

Do you have an example of where this helps?  A possible danger is that
rank_for_schedule might (indirectly) depend on state that isn't maintained
or updated in the same way during the model schedule phase.

Thanks,
Richard

Reply via email to