On 09/11/2017 11:15 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 uses that are more
> easily (and efficiently) written as END_REGNO.
> 
> 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/
>       * config/frv/frv.c (FOR_EACH_REGNO): Use END_REGNO instead of
>       hard_regno_nregs.
>       * config/v850/v850.c (v850_reorg): Likewise.
>       * reload.c (refers_to_regno_for_reload_p): Likewise.
>       (find_equiv_reg): Likewise.
>       * reload1.c (reload_reg_reaches_end_p): Likewise.
OK.
jeff

Reply via email to