IPA-CP: Access param_ipa_sra_max_replacements through opt_for_fn
authorMartin Jambor <mjambor@suse.cz>
Fri, 10 Jan 2020 10:01:33 +0000 (11:01 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 10 Jan 2020 10:01:33 +0000 (11:01 +0100)
commit1a315435dbebed25a316906caf9fa80f4214a5dc
tree21ea88f2ef5b7d06a7d67dfc171ab02658558f6c
parentf7725a488382e7ed47a808cecaed692e0ed78edb
IPA-CP: Access param_ipa_sra_max_replacements through opt_for_fn

2020-01-10  Martin Jambor  <mjambor@suse.cz>

* params.opt (param_ipa_sra_max_replacements): Mark as Optimization.
* ipa-sra.c (pull_accesses_from_callee): New parameter caller, use it
to get param_ipa_sra_max_replacements.
(param_splitting_across_edge): Pass the caller to
pull_accesses_from_callee.

From-SVN: r280100
gcc/ChangeLog
gcc/ipa-sra.c
gcc/params.opt