Improve hard reg preference propapagation.
authorVladimir N. Makarov <vmakarov@redhat.com>
Fri, 8 May 2020 20:51:40 +0000 (16:51 -0400)
committerVladimir N. Makarov <vmakarov@redhat.com>
Fri, 8 May 2020 20:51:40 +0000 (16:51 -0400)
commit74dc179a6da33cd00f6d4a93fbb97dc84f610126
tree104d982ac4ecc777e85c7ed29ae73bacd923ce70
parent234681eadf2c51d7b78270188d64601b7267330d
Improve hard reg preference propapagation.

2020-05-08  Vladimir Makarov  <vmakarov@redhat.com>

* ira-color.c (update_costs_from_allocno): Remove
conflict_cost_update_p argument.  Propagate costs only along
threads. Always do conflict cost update.  Add printing debugging
info.
(update_costs_from_copies): Add printing debugging info.
(restore_costs_from_copies): Ditto.
(assign_hard_reg): Improve debug info.
(push_only_colorable): Ditto. Call update_costs_from_prefs.
(color_allocnos): Remove update_costs_from_prefs.

2020-05-08  Vladimir Makarov  <vmakarov@redhat.com>

* gcc.target/i386/pr92807-1.c: Improve the regex.
gcc/ChangeLog
gcc/ira-color.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr92807-1.c