[PING][PATCH] Cleanup, use bitmap_set_range/bitmap_clear_range instead of bitmap_set_bit/bitmap_clear_bit loops.
Anatoly Sokolov
aesok@post.ru
Wed Mar 16 21:32:00 GMT 2011
Hello.
> On 12/08/10 11:46, Anatoly Sokolov wrote:
>> Hi.
>>
>> This patch converts loops of bitmap_set_bit/bitmap_clear_bit in to
>> bitmap_set_range/bitmap_clear_range functions call.
>>
>> The patch has been bootstrapped on and regression tested on
>> x86_64-unknown-linux-gnu for c.
>>
>> OK to install?
>>
>> * cfgcleanup.c (mark_effect): Use
>> bitmap_set_range/bitmap_clear_range
>> instead of loop. Use HARD_REGISTER_NUM_P predicate.
>> * haifa-sched.c (setup_ref_regs): Ditto.
>> * caller-save.c (add_used_regs_1): Ditto.
>> * dse.c (look_for_hardregs): Ditto.
>> * df-problems.c (df_simulate_one_insn_forwards): Ditto.
>> * sched-rgn.c (check_live_1): Ditto.
> This looks like a reasonable cleanup, but I can't see how this fixes any
> kind of bug, so it should be postponed until stage1 reopens. If you could
> attach it to the GCC 4.7 pending patches metabug that would help ensure it
> doens't get lost.
>
http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00686.html
OK to commit?
Anatoly.
More information about the Gcc-patches
mailing list