lra: make reload_pseudo_compare_func a proper comparator
authorAlexander Monakov <amonakov@ispras.ru>
Tue, 19 Sep 2017 10:16:20 +0000 (13:16 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Tue, 19 Sep 2017 10:16:20 +0000 (13:16 +0300)
commitffaea1170332667a1533a354dfcedc6d0de4aa5e
tree44bbb0fce59aadf8f4f5b18d02ac86d7dc1f856d
parent9412007cea62fe6181dfab389c578a0f0839baf8
lra: make reload_pseudo_compare_func a proper comparator

PR rtl-optimization/57878
PR rtl-optimization/68988
* lra-assigns.c (reload_pseudo_compare_func): Remove fragmentation
avoidance test involving non_reload_pseudos.  Move frequency test
below the general fragmentation avoidance test.

From-SVN: r252972
gcc/ChangeLog
gcc/lra-assigns.c