summaryrefslogtreecommitdiff
path: root/gcc/regrename.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-09-09 17:59:29 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-09-09 17:59:29 +0000
commit4897c5aaa7a5db4c1ece28ef66acb3d5e41787b3 (patch)
treefa56ee920dccfe14c219e9c7f229ee84154e46c0 /gcc/regrename.c
parentd15e5131845e2a68513230a624839ef5abcda690 (diff)
Remove IOR_COMPL_HARD_REG_SET
Use "x |= ~y" instead of "IOR_COMPL_HARD_REG_SET (x, y)", or just "x | ~y" if the result is a temporary. 2019-09-09 Richard Sandiford <richard.sandiford@arm.com> gcc/ * hard-reg-set.h (IOR_COMPL_HARD_REG_SET): Delete. * config/aarch64/cortex-a57-fma-steering.c (rename_single_chain): Use "|~" instead of IOR_COMPL_HARD_REG_SET. * config/aarch64/falkor-tag-collision-avoidance.c (init_unavailable): Likewise. * ira-build.c (ira_create_object, ira_set_allocno_class): Likewise. * ira.c (setup_reg_renumber): Likewise. * lra-assigns.c (find_hard_regno_for_1): Likewise. * regrename.c (regrename_find_superclass): Likewise. * reload1.c (find_reg): Likewise. From-SVN: r275533
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r--gcc/regrename.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/regrename.c b/gcc/regrename.c
index c28023ea72d..d83e1e92d25 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -441,8 +441,7 @@ regrename_find_superclass (du_head_p head, int *pn_uses,
if (DEBUG_INSN_P (tmp->insn))
continue;
n_uses++;
- IOR_COMPL_HARD_REG_SET (*punavailable,
- reg_class_contents[tmp->cl]);
+ *punavailable |= ~reg_class_contents[tmp->cl];
super_class
= reg_class_superunion[(int) super_class][(int) tmp->cl];
}