On 06/19/2014 09:07 AM, Tom de Vries wrote: > > 2014-06-19 Tom de Vries <t...@codesourcery.com> > > * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for > get_call_reg_set_usage.
Ok, as far as it goes, but... It seems like there should be quite a bit of overlap with regs_ever_live here. How much of that previous computation can we leverage? It appears that regs_ever_live includes any register mentioned explicitly, and thus the only registers it doesn't contain are those killed by the callees. That should be an easier scan than the rtl, since we have those already collected in the cgraph. Sorry I wasn't paying much attention earlier when this was first posted, when questions like this may have been answered. r~