On 9/11/19 1:12 PM, Richard Sandiford wrote: > The code patched here is counting how many registers the current > function would need to save in the prologue before it uses them. > The code is called per function, so using crtl is OK. > > > 2019-09-11 Richard Sandiford <richard.sandif...@arm.com> > > gcc/ > * haifa-sched.c: Include function-abi.h. > (alloc_global_sched_pressure_data): Use crtl->abi to check whether > the function would need to save a register before using it. > OK jeff