This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move RTL datastructures out of CFG
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 15 Jun 2005 14:13:10 -0700
- Subject: Re: Move RTL datastructures out of CFG
- References: <20050610154501.GM24004@kam.mff.cuni.cz>
On Fri, Jun 10, 2005 at 05:45:01PM +0200, Jan Hubicka wrote:
> * basic-block.h (rtl_bb_info): Break out head_, end_,
> global_live_at_start, global_live_at_end from ...
> (basic_block_def): ... here; update all references
> (BB_RTL): New flag.
> (init_rtl_bb_info): Declare.
> * cfgexpand.c (expand_gimple_basic_block): Init bb info, set BB_RTL
> flag.
> * cfgrtl.c: Include ggc.h
> (create_basic_block_structure): Init bb info.
> (rtl_verify_flow_info_1): Check BB_RTL flag and rtl_bb_info pointer.
> (init_rtl_bb_info): New function.
> (rtl_merge_block, cfglayout_merge_block): Copy global_live_at_end here.
> * cfghooks.c (merge_block): Do not copy global_live_at_end here.
> * cfg.c (clear_bb_flags): Skip BB_RTL flag.
> (dump_flow_info): Gueard global_live_* dumping.
Ok.
r~