Re: [05/32] Pass an ABI identifier to hard_regno_call_part_clobbered

2019-09-29 Thread Jeff Law
On 9/11/19 1:05 PM, Richard Sandiford wrote: > This patch replaces the rtx_insn argument to > targetm.hard_regno_call_part_clobbered with an ABI identifier, since > call insns are now just one possible way of getting an ABI handle. > This in turn allows predefined_function_abi::initialize to do the

[05/32] Pass an ABI identifier to hard_regno_call_part_clobbered

2019-09-11 Thread Richard Sandiford
This patch replaces the rtx_insn argument to targetm.hard_regno_call_part_clobbered with an ABI identifier, since call insns are now just one possible way of getting an ABI handle. This in turn allows predefined_function_abi::initialize to do the right thing for non-default ABIs. The horrible ?: i