diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-30 17:59:21 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-30 17:59:21 +0000 |
commit | cb2503338f6b1146a0783e0e365586d83010cc6e (patch) | |
tree | af43839d1af881ae2b9065e65432e15650be662b /gcc/ira-emit.c | |
parent | 4792ff6e49f817e12f74eebbe957507dc7d7a22a (diff) | |
download | gcc-cb2503338f6b1146a0783e0e365586d83010cc6e.tar.gz |
2009-03-30 Vladimir Makarov <vmakarov@redhat.com>
* reload.c (push_reload, find_dummy_reload): Use df_get_live_out
instead of DF_LR_OUT.
* ira-lives.c (process_bb_node_lives): Ditto.
* ira-color.c (ira_loop_edge_freq): Use df_get_live_{out,in}
instead of DF_LR_{OUT,IN}.
* ira-emit.c (generate_edge_moves, add_ranges_and_copies): Ditto.
* ira-build.c (create_bb_allocnos, create_loop_allocnos): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145309 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-emit.c')
-rw-r--r-- | gcc/ira-emit.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c index df10ea45d62..2db8fa965ae 100644 --- a/gcc/ira-emit.c +++ b/gcc/ira-emit.c @@ -390,9 +390,9 @@ generate_edge_moves (edge e) return; src_map = src_loop_node->regno_allocno_map; dest_map = dest_loop_node->regno_allocno_map; - EXECUTE_IF_SET_IN_REG_SET (DF_LR_IN (e->dest), + EXECUTE_IF_SET_IN_REG_SET (df_get_live_in (e->dest), FIRST_PSEUDO_REGISTER, regno, bi) - if (bitmap_bit_p (DF_LR_OUT (e->src), regno)) + if (bitmap_bit_p (df_get_live_out (e->src), regno)) { src_allocno = src_map[regno]; dest_allocno = dest_map[regno]; @@ -1028,15 +1028,16 @@ add_ranges_and_copies (void) destination block) to use for searching allocnos by their regnos because of subsequent IR flattening. */ node = IRA_BB_NODE (bb)->parent; - bitmap_copy (live_through, DF_LR_IN (bb)); + bitmap_copy (live_through, df_get_live_in (bb)); add_range_and_copies_from_move_list (at_bb_start[bb->index], node, live_through, REG_FREQ_FROM_BB (bb)); - bitmap_copy (live_through, DF_LR_OUT (bb)); + bitmap_copy (live_through, df_get_live_out (bb)); add_range_and_copies_from_move_list (at_bb_end[bb->index], node, live_through, REG_FREQ_FROM_BB (bb)); FOR_EACH_EDGE (e, ei, bb->succs) { - bitmap_and (live_through, DF_LR_IN (e->dest), DF_LR_OUT (bb)); + bitmap_and (live_through, df_get_live_in (e->dest), + df_get_live_out (bb)); add_range_and_copies_from_move_list ((move_t) e->aux, node, live_through, REG_FREQ_FROM_EDGE_FREQ (EDGE_FREQUENCY (e))); |