Tweak interface to ira-build.c:ior_hard_reg_conflicts
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 9 Sep 2019 17:59:54 +0000 (17:59 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 9 Sep 2019 17:59:54 +0000 (17:59 +0000)
commit75f4e3a1b322e16a1aca28bd0ced9af57cb0a683
tree6d34be743bff9b04f48cceeea34a2fb06e2bba98
parenta85796511b2b7985f79331c996761f7a87cb8116
Tweak interface to ira-build.c:ior_hard_reg_conflicts

This patch makes ior_hard_reg_conflicts take a const_hard_reg_set
rather than a pointer, so that it can be passed a temporary object
in later patches.

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

gcc/
* ira-int.h (ior_hard_reg_conflicts): Take a const_hard_reg_set
instead of a HARD_REG_SET *.
* ira-build.c (ior_hard_reg_conflicts): Likewise.
(ira_build): Update call accordingly.
* ira-emit.c (add_range_and_copies_from_move_list): Likewise.

From-SVN: r275535
gcc/ChangeLog
gcc/ira-build.c
gcc/ira-emit.c
gcc/ira-int.h