diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-05-22 19:33:37 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-05-22 19:33:37 +0000 |
commit | 56b138aed218de6e61416f2615424800ff7a0d18 (patch) | |
tree | cfa4aaeabd4b1bbd0608b1fb3976bc0540f8ed3a /gcc/struct-equiv.c | |
parent | 965ff67081ef58732db2256a1acba5cc3bb986be (diff) | |
download | gcc-56b138aed218de6e61416f2615424800ff7a0d18.zip gcc-56b138aed218de6e61416f2615424800ff7a0d18.tar.gz gcc-56b138aed218de6e61416f2615424800ff7a0d18.tar.bz2 |
hard-reg-set.h (GO_IF_HARD_REG_SUBSET, [...]): Delete in favor of...
gcc/
* hard-reg-set.h (GO_IF_HARD_REG_SUBSET, GO_IF_HARD_REG_EQUAL): Delete
in favor of...
(hard_reg_subset_p, hard_reg_sets_equal_p, hard_reg_sets_intersect_p)
(hard_reg_set_empty_p): ...these new functions.
* bt-load.c (choose_btr): Use hard_reg_subset_p instead of
GO_IF_HARD_REG_SUBSET.
* cfgcleanup.c (old_insns_match_p): Use hard_reg_sets_equal_p
instead of GO_IF_HARD_REG_EQUAL.
* df-problems.c (df_urec_local_compute): Use hard_reg_set_empty_p
instead of GO_IF_HARD_REG_EQUAL.
* global.c (find_reg): Use hard_reg_set_empty_p instead of
GO_IF_HARD_REG_SUBSET.
(modify_reg_pav): Use hard_reg_set_empty_p instead of
GO_IF_HARD_REG_EQUAL.
* local-alloc.c (find_free_reg): Use hard_reg_subset_p instead
of GO_IF_HARD_REG_SUBSET.
* reg-stack.c (change_stack, convert_regs_1): Use hard_reg_sets_equal_p
instead of GO_IF_HARD_REG_EQUAL.
* regclass.c (init_reg_sets_1, reg_scan_mark_refs): Use
hard_reg_subset_p instead of GO_IF_HARD_REG_SUBSET.
(reg_classes_intersect_p): Use hard_reg_sets_intersect_p instead
of GO_IF_HARD_REG_SUBSET,
* reload1.c (finish_spills): Use hard_reg_subset_p instead of
GO_IF_HARD_REG_SUBSET.
* struct-equiv.c (death_notes_match_p): Use hard_reg_sets_equal_p
instead of GO_IF_HARD_REG_EQUAL.
* config/sh/sh.c (push_regs, calc_live_regs): Use
hard_reg_sets_intersect_p instead of hard_regs_intersect_p.
(hard_regs_intersect_p): Delete.
From-SVN: r124954
Diffstat (limited to 'gcc/struct-equiv.c')
-rw-r--r-- | gcc/struct-equiv.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/struct-equiv.c b/gcc/struct-equiv.c index ce3efcd..c37378e 100644 --- a/gcc/struct-equiv.c +++ b/gcc/struct-equiv.c @@ -865,12 +865,8 @@ death_notes_match_p (rtx i1 ATTRIBUTE_UNUSED, rtx i2 ATTRIBUTE_UNUSED, SET_HARD_REG_BIT (i2_regset, regno); } - GO_IF_HARD_REG_EQUAL (i1_regset, i2_regset, done); - - return false; - - done: - ; + if (!hard_reg_set_equal_p (i1_regset, i2_regset)) + return false; } #endif return true; |