Hi, 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.
Bootstrapped on x86_64-linux-gnu and regtested on arm-linux-gnueabihf and aarch64-linux-gnu. OK to apply? Thank you, -- Maxim Kuvyrkov www.linaro.org
0008-Use-rank_for_schedule-to-as-tie-breaker-in-model_ord.patch
Description: Binary data