diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-03 22:02:33 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-03 22:02:33 +0000 |
commit | 2dd81ece8deba1432209691a6a974fba71e42b35 (patch) | |
tree | 2dd6bc9ff1434b729792664f7791f8b0f56dac2e /gcc/ira-color.c | |
parent | 417098267901a93fddbef10cdb3c3fc0259a104d (diff) | |
download | gcc-2dd81ece8deba1432209691a6a974fba71e42b35.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145521 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-color.c')
-rw-r--r-- | gcc/ira-color.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ira-color.c b/gcc/ira-color.c index d61d39e9a01..4f1d302b7c7 100644 --- a/gcc/ira-color.c +++ b/gcc/ira-color.c @@ -1022,8 +1022,8 @@ ira_loop_edge_freq (ira_loop_tree_node_t loop_node, int regno, bool exit_p) FOR_EACH_EDGE (e, ei, loop_node->loop->header->preds) if (e->src != loop_node->loop->latch && (regno < 0 - || (bitmap_bit_p (df_get_live_out (e->src), regno) - && bitmap_bit_p (df_get_live_in (e->dest), regno)))) + || (bitmap_bit_p (DF_LR_OUT (e->src), regno) + && bitmap_bit_p (DF_LR_IN (e->dest), regno)))) freq += EDGE_FREQUENCY (e); } else @@ -1031,8 +1031,8 @@ ira_loop_edge_freq (ira_loop_tree_node_t loop_node, int regno, bool exit_p) edges = get_loop_exit_edges (loop_node->loop); for (i = 0; VEC_iterate (edge, edges, i, e); i++) if (regno < 0 - || (bitmap_bit_p (df_get_live_out (e->src), regno) - && bitmap_bit_p (df_get_live_in (e->dest), regno))) + || (bitmap_bit_p (DF_LR_OUT (e->src), regno) + && bitmap_bit_p (DF_LR_IN (e->dest), regno))) freq += EDGE_FREQUENCY (e); VEC_free (edge, heap, edges); } |