diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-09-12 13:28:27 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-09-12 13:28:27 +0000 |
commit | 4edd6298d853890dca6a30cfdf209e3e89a2a533 (patch) | |
tree | cb773aeb0a0539470b01a2b8d572da3b6dfe2742 /gcc/ChangeLog | |
parent | 036620db8a9f9e4d807de8ba07a7004aa02a9941 (diff) | |
download | gcc-4edd6298d853890dca6a30cfdf209e3e89a2a533.zip gcc-4edd6298d853890dca6a30cfdf209e3e89a2a533.tar.gz gcc-4edd6298d853890dca6a30cfdf209e3e89a2a533.tar.bz2 |
Make more use of end_hard_regno
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 can use
end_hard_regno instead.
2017-09-12 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* 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.
* config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Likewise.
* config/visium/visium.c (visium_hard_regno_mode_ok): Likewise.
* ira-color.c (improve_allocation): Likewise.
* lra-assigns.c (find_hard_regno_for_1): Likewise.
* lra-lives.c (mark_regno_live): Likewise.
(mark_regno_dead): Likewise.
* lra-remat.c (operand_to_remat): Likewise.
* lra.c (collect_non_operand_hard_regs): Likewise.
* postreload.c (reload_combine_note_store): Likewise.
(move2add_valid_value_p): Likewise.
* reload.c (regno_clobbered_p): Likewise.
From-SVN: r252012
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b398c8..1652e72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,22 @@ 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. + * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Likewise. + * config/visium/visium.c (visium_hard_regno_mode_ok): Likewise. + * ira-color.c (improve_allocation): Likewise. + * lra-assigns.c (find_hard_regno_for_1): Likewise. + * lra-lives.c (mark_regno_live): Likewise. + (mark_regno_dead): Likewise. + * lra-remat.c (operand_to_remat): Likewise. + * lra.c (collect_non_operand_hard_regs): Likewise. + * postreload.c (reload_combine_note_store): Likewise. + (move2add_valid_value_p): Likewise. + * reload.c (regno_clobbered_p): Likewise. + +2017-09-12 Richard Sandiford <richard.sandiford@linaro.org> + * config/frv/frv.c (FOR_EACH_REGNO): Use END_REGNO instead of hard_regno_nregs. * config/v850/v850.c (v850_reorg): Likewise. |