haifa-sched: fix autopref_rank_for_schedule qsort comparator
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 27 Sep 2017 17:16:53 +0000 (20:16 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 27 Sep 2017 17:16:53 +0000 (20:16 +0300)
commitab90c27b6739a096d9afe9472b14057fbc24e392
tree8d90c0fe01da13a06e1c0ed09b5065c77bf98173
parentd4b7f2ee4bb69d5d3594413d63d077d2f3610141
haifa-sched: fix autopref_rank_for_schedule qsort comparator

* haifa-sched.c (autopref_rank_for_schedule): Order 'irrelevant' insns
first, always call autopref_rank_data otherwise.

From-SVN: r253235
gcc/ChangeLog
gcc/haifa-sched.c