Remove hard_reg_set_equal_p
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 9 Sep 2019 17:59:41 +0000 (17:59 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 9 Sep 2019 17:59:41 +0000 (17:59 +0000)
commita85796511b2b7985f79331c996761f7a87cb8116
tree4a203b9ce5ea6c1edbe21037576b86fa2d0b1107
parent4897c5aaa7a5db4c1ece28ef66acb3d5e41787b3
Remove hard_reg_set_equal_p

Use "x == y" instead of "hard_reg_set_equal_p (x, y)".

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

gcc/
* hard-reg-set.h (HARD_REG_SET::operator==): New function.
(HARD_REG_SET::operator!=): Likewise.
(hard_reg_set_equal_p): Delete.
* cfgcleanup.c (old_insns_match_p): Use == instead of
hard_reg_set_equal_p and != instead of !hard_reg_set_equal_p.
* ira-color.c (allocno_hard_regs_hasher::equal): Likewise.
(add_allocno_hard_regs_to_forest): Likewise.
(setup_allocno_available_regs_num): Likewise.
* ira.c (setup_pressure_classes): Likewise.
(setup_allocno_and_important_classes): Likewise.
(setup_reg_class_relations): Likewise.
* lra-lives.c (process_bb_lives): Likewise.
* reg-stack.c (change_stack, convert_regs_1): Likewise.

From-SVN: r275534
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/hard-reg-set.h
gcc/ira-color.c
gcc/ira.c
gcc/lra-lives.c
gcc/reg-stack.c