> Hi, > > On Fri, Jan 03 2020, Martin Liška wrote: > > Hi. > > > > This is similar transformation for IPA passes. This time, > > one needs to use opt_for_fn in order to get the right > > parameter values. > > > > @Martin, Honza: > > There are last few remaining parameters which should use > > opt_for_fn: > > > > param_ipa_max_agg_items > > param_ipa_cp_unit_growth > > param_ipa_sra_max_replacements > > sent in previous separate email messages. All of those patches passed > bootstrap and testing and LTO bootstrap on an x86_64-linux. Feel free > to commit them with your other param-related patches after they are > reviewed. > > > param_max_speculative_devirt_maydefs > > > > This one is Honza's but I am quite sure you can just use cfun->decl in > the one place where this is queried. You do not need that. param_* already does that. I think it is safe to simply declare it Optimizatoin/PerFunction.
Honza > > Martin