Re: [27/32] Remove global call sets: reload.c

2019-09-29 Thread Jeff Law
On 9/11/19 1:16 PM, Richard Sandiford wrote: > The inheritance code in find_equiv_reg can use clobbers_reg_p > to test whether a call clobbers either of the equivalent registers. > > reload and find_reg use crtl->abi to test whether a register needs > to be saved in the prologue before use. > > r

[27/32] Remove global call sets: reload.c

2019-09-11 Thread Richard Sandiford
The inheritance code in find_equiv_reg can use clobbers_reg_p to test whether a call clobbers either of the equivalent registers. reload and find_reg use crtl->abi to test whether a register needs to be saved in the prologue before use. reload_as_needed can use full_and_partial_reg_clobbers and t