Make more use of in_hard_reg_set_p
authorRichard Sandiford <richard.sandiford@linaro.org>
Tue, 12 Sep 2017 13:28:37 +0000 (13:28 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 12 Sep 2017 13:28:37 +0000 (13:28 +0000)
commitc1b52c0ef6eeb91b5326eee18bb2652e3f732162
treec04b3abede6f4595566e4d3e30cd4ddcc6d6aa53
parent4edd6298d853890dca6a30cfdf209e3e89a2a533
Make more use of in_hard_reg_set_p

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.

2017-09-12  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* ira-costs.c (record_operand_costs): Use in_hard_reg_set_p
instead of hard_regno_nregs.

From-SVN: r252013
gcc/ChangeLog
gcc/ira-costs.c