Make more use of in_hard_reg_set_p
commit47292958bc6815a762bffb42afdd9fdb5a44cc52
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Sep 2017 13:28:37 +0000 (12 13:28 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Sep 2017 13:28:37 +0000 (12 13:28 +0000)
treec04b3abede6f4595566e4d3e30cd4ddcc6d6aa53
parent16b9e38b7e3e0acb5826b47822543218f2df8986
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ira-costs.c