On 07/27/2011 10:26 AM, Sergey Ostanevich wrote:
Hello!
Is there any scripts/tools that parse GCC dumps and report register
pressure in the dump - either overall, or in different parts of the
dump?
-fdump-rtl-ira creates an info dump of IRA. There is info about maximal
pressure for each region (currently loops) and each register pressure
class. Loop 0 corresponds to all program. By default, a loop region is
created when register pressure is high. If you need to see register
pressure for all loops you can use option -fira-region=all.