diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-25 20:34:44 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-25 20:34:44 +0000 |
commit | eb3db740832740f555ea956e276904e247c819fa (patch) | |
tree | 71b4ad742f98532f60c9692fb44c11d65b6b35f1 /gcc/params.def | |
parent | 196adb3b4682b0da031def91be9865db49dc7603 (diff) | |
download | gcc-eb3db740832740f555ea956e276904e247c819fa.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208155 138bc75d-0d04-0410-961f-82ee72b054a4
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 ad63a37a76f..dd2e2cd1a99 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. */ |