Re: Convert hard_regno_nregs to a function

2017-09-11 Thread Jeff Law
On 09/11/2017 11:17 AM, Richard Sandiford wrote: > This patch converts 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 is just a mechanical change. > > Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le

Convert hard_regno_nregs to a function

2017-09-11 Thread Richard Sandiford
This patch converts 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 is just a mechanical change. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu. Also tested by comparing the testsuite assembly