diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2014-02-25 20:34:44 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2014-02-25 20:34:44 +0000 |
commit | 88def6374c15e75e1a179b7a066811563d3c93e3 (patch) | |
tree | 71b4ad742f98532f60c9692fb44c11d65b6b35f1 /gcc/params.def | |
parent | 6e6eaecc6ab7c461f13e7a76fa3ab85b721242e8 (diff) | |
download | gcc-88def6374c15e75e1a179b7a066811563d3c93e3.zip gcc-88def6374c15e75e1a179b7a066811563d3c93e3.tar.gz gcc-88def6374c15e75e1a179b7a066811563d3c93e3.tar.bz2 |
re PR rtl-optimization/60317 (find_hard_regno_for compile time hog in libvpx)
2014-02-25 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/60317
* params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
* params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
* lra-assigns.c: Include params.h.
(spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
other reload pseudos considerations.
From-SVN: r208155
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index ad63a37..dd2e2cd 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -821,6 +821,11 @@ DEFPARAM (PARAM_IRA_LOOP_RESERVED_REGS, "The number of registers in each class kept unused by loop invariant motion", 2, 0, 0) +DEFPARAM (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS, + "lra-max-considered-reload-pseudos", + "The max number of reload pseudos which are considered during spilling a non-reload pseudo", + 500, 0, 0) + /* Switch initialization conversion will refuse to create arrays that are bigger than this parameter times the number of switch branches. */ |