diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2009-04-03 22:02:33 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2009-04-03 22:02:33 +0000 |
commit | 174b310711cd30ca7717107b306ee4aff2815324 (patch) | |
tree | 2dd6bc9ff1434b729792664f7791f8b0f56dac2e /gcc/reload.c | |
parent | 535b544aa70749ecce8ea8914831479ece53995f (diff) | |
download | gcc-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/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 3b4c51e..a7e9309 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_get_live_out (ENTRY_BLOCK_PTR), + || (! bitmap_bit_p (DF_LR_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_get_live_out (ENTRY_BLOCK_PTR), + || (!bitmap_bit_p (DF_LR_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 |