On 09/11/2017 11:16 AM, Richard Sandiford wrote:
> An upcoming patch will convert hard_regno_nregs into an inline
> function, which in turn allows hard_regno_nregs to be used as the
> name of a targetm field. This patch rewrites a use that can use
> in_hard_reg_set_p instead.
>
> Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu.
> Also tested by comparing the testsuite assembly output on at least one
> target per CPU directory. OK to install?
>
> Richard
>
>
> 2017-09-11 Richard Sandiford <richard.sandif...@linaro.org>
>
> gcc/
> * ira-costs.c (record_operand_costs): Use in_hard_reg_set_p
> instead of hard_regno_nregs.
OK.
jeff