This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: patch to use DF_LIVE_{IN,OUT} in IRA.


Vladimir Makarov wrote:
The following patch makes IRA to use DF_LIVE_{IN,OUT}.

The patch was throughly tested on major platforms month ago.

OK to commit?

Rather than defining your own macro, you should be using the df_get_live_{in,out}. These functions check to see if the DF_LIVE problem has been defined and use it. Otherwise they use df_lr.

This is better than keying on the optimization level. Aside from that, this patch is fine.

kenny

2009-03-30 Vladimir Makarov <vmakarov@redhat.com>


   * reload.c (push_reload, find_dummy_reload): Use IRA_LIVE_OUT
   instead of DF_LR_OUT.

* ira-lives.c (process_bb_node_lives): Ditto.

   * ira-color.c (ira_loop_edge_freq): Use IRA_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.

* ira.h (IRA_LIVE_IN, IRA_LIVE_OUT): New macros.

* Makefile.in (reload.o): Add ira.h to the dependencies.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]