Remove COMPL_HARD_REG_SET
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 9 Sep 2019 17:59:10 +0000 (17:59 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 9 Sep 2019 17:59:10 +0000 (17:59 +0000)
commit50b3f54d551787e0a066451ef60ef3b055a893e6
treeb8072c5a072c571f7f8507ee28b4c867d9f176e5
parent6576d245386e2ce52df274ef8f2ffed81cfaa1c3
Remove COMPL_HARD_REG_SET

"COMPL_HARD_REG_SET (x, y)" becomes "x = ~y".

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

gcc/
* hard-reg-set.h (HARD_REG_SET::operator~): New function.
(COMPL_HARD_REG_SET): Delete.
* config/c6x/c6x.c (c6x_call_saved_register_used): Use ~ instead
of COMPL_HARD_REG_SET.
(try_rename_operands): Likewise.
* config/sh/sh.c (push_regs): Likewise.
* lra-assigns.c (find_hard_regno_for_1): Likewise.
* lra-constraints.c (contains_reg_p): Likewise.
* reload1.c (finish_spills, choose_reload_regs_init): Likewise.

From-SVN: r275529
gcc/ChangeLog
gcc/config/c6x/c6x.c
gcc/config/sh/sh.c
gcc/hard-reg-set.h
gcc/lra-assigns.c
gcc/lra-constraints.c
gcc/reload1.c