diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-08-19 16:51:39 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-08-19 16:51:39 +0000 |
commit | fcaa4ca43392cfedaa9ce44dd7280236c1726ed9 (patch) | |
tree | 67cb91e2afbc4833424e3aa3836e69d68d51a52f /gcc/loop-invariant.c | |
parent | 99d821c01cacbfdba524cb4d4d8ea066abd15d2b (diff) | |
download | gcc-fcaa4ca43392cfedaa9ce44dd7280236c1726ed9.zip gcc-fcaa4ca43392cfedaa9ce44dd7280236c1726ed9.tar.gz gcc-fcaa4ca43392cfedaa9ce44dd7280236c1726ed9.tar.bz2 |
cfgloop.c (get_loop_body_in_bfs_order): Avoid redundant call to bitmap_bit_p.
* cfgloop.c (get_loop_body_in_bfs_order): Avoid redundant call to
bitmap_bit_p.
* config/bfin/bifn.c (bfin_discover_loop): Likewise.
* dominance.c (iterate_fix_dominators): Likewise.
* dse.c (set_usage_bits): Likewise.
(set_position_unneeded, record_store): Likewise.
* gimple-fold.c (get_maxval_strlen): Likewise.
* haifa-sched.c (fix_inter_tick, fix_recovery_deps): Likewise.
* ipa-inline.c (update_caller_keys): Likewise.
* ipa-split.c (verify_non_ssa_vars): Likewise.
* ipa-type-escape.c (mark_type, close_type_seen): Likewise.
(close_type_exposed_parameter, close_type_full_escape): Likewise.
(close_addressof_down): Likewise.
* ira-color.c (assign_hard_reg, push_allocno_to_stack): Likewise.
(setup_allocno_left_conflicts_size): Likewise.
(ira_reassign_conflict_allocnos): Likewise.
(ira_reassign_pseudos): Likewise.
* ira-emit.c (change_loop): Likewise.
* loop-invariant.c (mark_regno_live, mark_regno_death): Likewise.
* lto-streamer-out.c (write_symbol): Likewise.
* predict.c (expr_expected_value_1): Likewise.
* regstat.c (regstat_bb_compute_ri): Likewise.
* sel-sched.c (create_block_for_bookkeeping): Likewise.
(track_scheduled_insns_and_blocks, sel_sched_region_1): Likewise.
* stmt.c (expand_case): Likewise.
* tree-eh.c (emit_eh_dispatch): Likewise.
* tree-into-ssa.c (prune_unused_phi_nodes): Likewise.
* tree-loop-distribution.c (make_nodes_having_upstream_mem_writes):
Likewise.
(rdg_flag_vertex, rdg_flag_loop_exits): Likewise.
(rdg_build_components): Likewise.
* tree-object-size.c (collect_object_sizes_for): Likewise.
* tree-sra.c (convert_callers): Likewise.
* tree-ssa-coalesce.c (live_track_add_partition): Likewise.
* tree-ssa-live.c (mark_all_vars_used_1): Likewise.
* tree-ssa-pre.c (bitmap_set_replace_value): Likewise.
From-SVN: r163378
Diffstat (limited to 'gcc/loop-invariant.c')
-rw-r--r-- | gcc/loop-invariant.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index 19da7dd..cf427c3 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -1671,9 +1671,8 @@ mark_regno_live (int regno) loop != current_loops->tree_root; loop = loop_outer (loop)) bitmap_set_bit (&LOOP_DATA (loop)->regs_live, regno); - if (bitmap_bit_p (&curr_regs_live, regno)) + if (!bitmap_set_bit (&curr_regs_live, regno)) return; - bitmap_set_bit (&curr_regs_live, regno); change_pressure (regno, true); } @@ -1681,9 +1680,8 @@ mark_regno_live (int regno) static void mark_regno_death (int regno) { - if (! bitmap_bit_p (&curr_regs_live, regno)) + if (! bitmap_clear_bit (&curr_regs_live, regno)) return; - bitmap_clear_bit (&curr_regs_live, regno); change_pressure (regno, false); } |