re PR rtl-optimization/88751 (Performance regression reload vs lra)
authorAndreas Krebbel <krebbel@linux.ibm.com>
Thu, 6 Jun 2019 11:35:04 +0000 (11:35 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 6 Jun 2019 11:35:04 +0000 (11:35 +0000)
commit891f31f9a45dec393e8c1919427a4f136b554863
tree97d3b3e6608fac4176c7e192fa0e1e80a7c062ff
parenta96ed9f7d9b68237b507d454f014d1871c0435d5
re PR rtl-optimization/88751 (Performance regression reload vs lra)

Fix PR88751

This patch implements a small improvement for the heuristic in lra
which decides when it has to activate the simpler register allocation
algorithm.

gcc/ChangeLog:

2019-06-06  Andreas Krebbel  <krebbel@linux.ibm.com>

PR rtl-optimization/88751
* ira.c (ira): Use the number of the actually referenced registers
when calculating the threshold.

From-SVN: r271996
gcc/ChangeLog
gcc/ira.c