This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: LTO inliner -- sensitivity to increasing register pressure
- From: Aaron Sawdey <acsawdey at linux dot vnet dot ibm dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, davidxl at google dot com, vmakarov at redhat dot com
- Date: Fri, 18 Apr 2014 13:49:32 -0500
- Subject: Re: LTO inliner -- sensitivity to increasing register pressure
- Authentication-results: sourceware.org; auth=none
- References: <53515624 dot 5060509 at linux dot vnet dot ibm dot com> <20140418172623 dot GB10795 at kam dot mff dot cuni dot cz>
On Fri, 2014-04-18 at 19:26 +0200, Jan Hubicka wrote:
> This is intresting. I sort of planned to add register pressure logic
> but always tought it is somewhat hard to do at GIMPLE level in a way
> that would work for all CPUs.
Yes, this is just meant to try to measure something that is
representative of register pressure. Different architectures would
probably want different thresholds for this.
> If you find examples of bad inlining, can you also fill it into bugzilla?
> Perhaps the individual cases could be handled better by improving IRA.
Yes, I can do that for the case that's happening in bzip2.
Aaron
--
Aaron Sawdey, Ph.D. acsawdey@linux.vnet.ibm.com
050-2/C113 (507) 253-7520 home: 507/263-0782
IBM Linux Technology Center - PPC Toolchain