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. acsaw...@linux.vnet.ibm.com 050-2/C113 (507) 253-7520 home: 507/263-0782 IBM Linux Technology Center - PPC Toolchain