> >
> > In ipa-modref I precompute this to map so we do not need to walk all
> > params, but the loop is probably not bad since functions do not have
> > tens of thousdands parameters :)
>
> The most I have seen is about 70 and those were big outliers.
>
> I was thinking of precomputing it
Hi,
On Thu, Nov 25 2021, Jan Hubicka wrote:
>>
>> gcc/ChangeLog:
>>
>> 2021-11-23 Martin Jambor
>>
>> PR ipa/103227
>> * ipa-prop.h (ipa_get_param): New overload. Move bits of the existing
>> one to the new one.
>> * ipa-param-manipulation.h (ipa_param_adjustments): New
>
> gcc/ChangeLog:
>
> 2021-11-23 Martin Jambor
>
> PR ipa/103227
> * ipa-prop.h (ipa_get_param): New overload. Move bits of the existing
> one to the new one.
> * ipa-param-manipulation.h (ipa_param_adjustments): New member
> function
Hi,
PR 103227 exposed an issue with ordering of transformations of IPA
passes. IPA-CP can create clones for constants passed by reference
and at the same time IPA-SRA can also decide that the parameter does
not need to be a pointer (or an aggregate) and plan to convert it
into (a) simple