diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-09-12 13:28:37 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-09-12 13:28:37 +0000 |
commit | c1b52c0ef6eeb91b5326eee18bb2652e3f732162 (patch) | |
tree | c04b3abede6f4595566e4d3e30cd4ddcc6d6aa53 /gcc/ChangeLog | |
parent | 4edd6298d853890dca6a30cfdf209e3e89a2a533 (diff) | |
download | gcc-c1b52c0ef6eeb91b5326eee18bb2652e3f732162.zip gcc-c1b52c0ef6eeb91b5326eee18bb2652e3f732162.tar.gz gcc-c1b52c0ef6eeb91b5326eee18bb2652e3f732162.tar.bz2 |
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
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1652e72..cc2e3ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-09-12 Richard Sandiford <richard.sandiford@linaro.org> + * ira-costs.c (record_operand_costs): Use in_hard_reg_set_p + instead of hard_regno_nregs. + +2017-09-12 Richard Sandiford <richard.sandiford@linaro.org> + * config/aarch64/aarch64.c (aarch64_hard_regno_mode_ok): Use end_hard_regno instead of hard_regno_nregs. * config/s390/s390.c (s390_reg_clobbered_rtx): Likewise. |