Re: [03/32] Add a function for getting the ABI of a call insn target

2019-09-30 Thread Jeff Law
On 9/30/19 10:32 AM, Richard Sandiford wrote: > Jeff Law writes: >> On 9/25/19 9:38 AM, Richard Sandiford wrote: >>> Richard Sandiford writes: This patch replaces get_call_reg_set_usage with call_insn_abi, which returns the ABI of the target of a call insn. The ABI's full_reg_clob

Re: [03/32] Add a function for getting the ABI of a call insn target

2019-09-30 Thread Richard Sandiford
Jeff Law writes: > On 9/25/19 9:38 AM, Richard Sandiford wrote: >> Richard Sandiford writes: >>> This patch replaces get_call_reg_set_usage with call_insn_abi, >>> which returns the ABI of the target of a call insn. The ABI's >>> full_reg_clobbers corresponds to regs_invalidated_by_call, >>> whe

Re: [03/32] Add a function for getting the ABI of a call insn target

2019-09-30 Thread Jeff Law
On 9/25/19 9:38 AM, Richard Sandiford wrote: > Richard Sandiford writes: >> This patch replaces get_call_reg_set_usage with call_insn_abi, >> which returns the ABI of the target of a call insn. The ABI's >> full_reg_clobbers corresponds to regs_invalidated_by_call, >> whereas many callers instead

Re: [03/32] Add a function for getting the ABI of a call insn target

2019-09-25 Thread Richard Sandiford
Richard Sandiford writes: > This patch replaces get_call_reg_set_usage with call_insn_abi, > which returns the ABI of the target of a call insn. The ABI's > full_reg_clobbers corresponds to regs_invalidated_by_call, > whereas many callers instead passed call_used_or_fixed_regs, i.e.: > > (regs_