diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-05-19 07:11:37 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-05-19 07:11:37 +0000 |
commit | 07a737f333f0d4352984664c1ab6d344f6e2c88c (patch) | |
tree | eb76c88033453d389b51706d4861488d574dcaf2 /gcc/sched-rgn.c | |
parent | 72d19505eef64d2d9c37d8aabf1fffb3267d5d0e (diff) | |
download | gcc-07a737f333f0d4352984664c1ab6d344f6e2c88c.zip gcc-07a737f333f0d4352984664c1ab6d344f6e2c88c.tar.gz gcc-07a737f333f0d4352984664c1ab6d344f6e2c88c.tar.bz2 |
bitmap.c (bitmap_set_range): Handle count==1 specially.
gcc/
* bitmap.c (bitmap_set_range): Handle count==1 specially.
(bitmap_clear_range): Likewise.
* cfgcleanup.c (mark_effect): Use bitmap_clear_range and
bitmap_set_range unconditionally.
* df-problems.c (df_simulate_one_insn_forwards): Likewise.
* df-scan.c (df_mark_reg): Likewise.
* haifa-sched.c (setup_ref_regs): Likewise.
* sched-rgn.c (update_live_1): Likewise.
From-SVN: r223344
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 4dac7e2..fd53a3f 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -1801,11 +1801,7 @@ update_live_1 (int src, rtx x) for (i = 0; i < candidate_table[src].update_bbs.nr_members; i++) { basic_block b = candidate_table[src].update_bbs.first_member[i]; - - if (HARD_REGISTER_NUM_P (regno)) - bitmap_set_range (df_get_live_in (b), regno, REG_NREGS (reg)); - else - bitmap_set_bit (df_get_live_in (b), regno); + bitmap_set_range (df_get_live_in (b), regno, REG_NREGS (reg)); } } } |