Remove redundant fixed_regs tests
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 10 Sep 2019 18:56:59 +0000 (18:56 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 10 Sep 2019 18:56:59 +0000 (18:56 +0000)
commit2e3d041b1328f123e60244df9e78f9c30e73462c
tree87b78fda6482711d37131af066629bcf30356d58
parenta365fa0636886aeda83e57b84d837cfba13597fe
Remove redundant fixed_regs tests

This patch removes redundant fixed_regs tests in things like:

  !fixed_regs[i] && !call_used_or_fixed_reg_p (i)

2019-09-10  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/alpha/alpha.c (alpha_compute_frame_layout): Remove redundant
fixed_regs test.
* config/bpf/bpf.c (bpf_compute_frame_layout, bpf_expand_prologue)
(bpf_expand_epilogue): Likewise.
* config/c6x/c6x.c (c6x_save_reg): Likewise.
* config/ft32/ft32.c (ft32_expand_prologue): Likewise.
(ft32_expand_epilogue): Likewise.
* config/i386/i386.c (ix86_save_reg): Likewise.
* config/moxie/moxie.c (moxie_expand_prologue): Likewise.
(moxie_expand_epilogue): Likewise.
* config/tilegx/tilegx.c (need_to_save_reg): Likewise.
* config/tilepro/tilepro.c (need_to_save_reg): Likewise.
* config/xtensa/xtensa.c (xtensa_call_save_reg): Likewise.

From-SVN: r275603
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/bpf/bpf.c
gcc/config/c6x/c6x.c
gcc/config/ft32/ft32.c
gcc/config/i386/i386.c
gcc/config/moxie/moxie.c
gcc/config/tilegx/tilegx.c
gcc/config/tilepro/tilepro.c
gcc/config/xtensa/xtensa.c