SRA argument after materialization

Erick Ochoa erick.ochoa@theobroma-systems.com
Mon Jul 13 11:14:23 GMT 2020



On 13/07/2020 13:13, Martin Jambor wrote:
> Hi,
> 
> On Fri, Jul 10 2020, Erick Ochoa wrote:
>> Hello,
>>
>> is there a way to determine just how an argument is affected by SRA
>> after SRA has occured?
>>
>> How would I be able to determine the effects of ISRA on the struct argument?
> 
> For the changes performed by IPA-SRA (but also to spot arguments removed
> as constant or unused by IPA-CP), look into the corresponding
> cgraph_node->clone.param_adjustments.
> 
> (Assuming you want to do it programmatically, if you're just debugging
> stuff, the IPA-SRA dump is probably the place to look at.)
> 
> Martin
> 

Doing it programmatically. Thanks Martin!


More information about the Gcc mailing list