diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2009-03-30 17:59:21 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2009-03-30 17:59:21 +0000 |
commit | 9a48a93f5f4b08879c6156529560bdeb44e4c91a (patch) | |
tree | af43839d1af881ae2b9065e65432e15650be662b /gcc/reload.c | |
parent | f6d534688d18d94e7a16e25299f8d73748f1e934 (diff) | |
download | gcc-9a48a93f5f4b08879c6156529560bdeb44e4c91a.zip gcc-9a48a93f5f4b08879c6156529560bdeb44e4c91a.tar.gz gcc-9a48a93f5f4b08879c6156529560bdeb44e4c91a.tar.bz2 |
reload.c (push_reload, [...]): Use df_get_live_out instead of DF_LR_OUT.
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: r145309
Diffstat (limited to 'gcc/reload.c')
-rw-r--r-- | gcc/reload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c index a7e9309..3b4c51e 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -1549,7 +1549,7 @@ push_reload (rtx in, rtx out, rtx *inloc, rtx *outloc, && reg_mentioned_p (XEXP (note, 0), in) /* Check that a former pseudo is valid; see find_dummy_reload. */ && (ORIGINAL_REGNO (XEXP (note, 0)) < FIRST_PSEUDO_REGISTER - || (! bitmap_bit_p (DF_LR_OUT (ENTRY_BLOCK_PTR), + || (! bitmap_bit_p (df_get_live_out (ENTRY_BLOCK_PTR), ORIGINAL_REGNO (XEXP (note, 0))) && hard_regno_nregs[regno][GET_MODE (XEXP (note, 0))] == 1)) && ! refers_to_regno_for_reload_p (regno, @@ -2027,7 +2027,7 @@ find_dummy_reload (rtx real_in, rtx real_out, rtx *inloc, rtx *outloc, can ignore the conflict). We must never introduce writes to such hardregs, as they would clobber the other live pseudo. See PR 20973. */ - || (!bitmap_bit_p (DF_LR_OUT (ENTRY_BLOCK_PTR), + || (!bitmap_bit_p (df_get_live_out (ENTRY_BLOCK_PTR), ORIGINAL_REGNO (in)) /* Similarly, only do this if we can be sure that the death note is still valid. global can assign some hardreg to |