aboutsummaryrefslogtreecommitdiff
path: root/gcc/ira-emit.c
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@redhat.com>2009-04-03 22:02:33 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2009-04-03 22:02:33 +0000
commit174b310711cd30ca7717107b306ee4aff2815324 (patch)
tree2dd6bc9ff1434b729792664f7791f8b0f56dac2e /gcc/ira-emit.c
parent535b544aa70749ecce8ea8914831479ece53995f (diff)
downloadgcc-174b310711cd30ca7717107b306ee4aff2815324.zip
gcc-174b310711cd30ca7717107b306ee4aff2815324.tar.gz
gcc-174b310711cd30ca7717107b306ee4aff2815324.tar.bz2
revert: reload.c (push_reload, [...]): Use df_get_live_out instead of DF_LR_OUT.
2009-04-03 Vladimir Makarov <vmakarov@redhat.com> Revert 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. From-SVN: r145521
Diffstat (limited to 'gcc/ira-emit.c')
-rw-r--r--gcc/ira-emit.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c
index 2db8fa9..df10ea4 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_get_live_in (e->dest),
+ EXECUTE_IF_SET_IN_REG_SET (DF_LR_IN (e->dest),
FIRST_PSEUDO_REGISTER, regno, bi)
- if (bitmap_bit_p (df_get_live_out (e->src), regno))
+ if (bitmap_bit_p (DF_LR_OUT (e->src), regno))
{
src_allocno = src_map[regno];
dest_allocno = dest_map[regno];
@@ -1028,16 +1028,15 @@ 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_get_live_in (bb));
+ bitmap_copy (live_through, DF_LR_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_get_live_out (bb));
+ bitmap_copy (live_through, DF_LR_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_get_live_in (e->dest),
- df_get_live_out (bb));
+ bitmap_and (live_through, DF_LR_IN (e->dest), DF_LR_OUT (bb));
add_range_and_copies_from_move_list
((move_t) e->aux, node, live_through,
REG_FREQ_FROM_EDGE_FREQ (EDGE_FREQUENCY (e)));