]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/88751 (Performance regression reload vs lra)
authorAndreas Krebbel <krebbel@linux.ibm.com>
Fri, 20 Sep 2019 09:23:50 +0000 (09:23 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 20 Sep 2019 09:23:50 +0000 (09:23 +0000)
commit3686c5158dd58602f87af7c33d2d409e3ee7b53e
tree131210a739ae8f5614116994794d072e2fe3f4fc
parentebc8f1772ee16a6457542c06b84a6c9a6bf58d77
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-09-20  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
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: r275993
gcc/ChangeLog
gcc/ira.c