[dataflow]:PATCH committed to change uninitialized regs code and fix dumping code.
Kenneth Zadeck
zadeck@naturalbridge.com
Wed Apr 4 18:03:00 GMT 2007
Kenneth Zadeck wrote:
> The change to cfg.c fixes some crashes that occurred during dumping.
> There are times when dumps are taken and the array of reginfo has not
> been recomputed after adding new regs.
>
> The second fix changes the way initialization code is added. Rather
> than adding it at the top of the block where the insn is located, it is
> now added right before the use of the uninitialized reg. This keeps
> from adding to the reg pressure. This code happens before any scheduling.
>
> This has been tested on ppc, ia-64, i686-32 and i686-64 under linux.
>
> Kenny
>
> 2007-04-04 Kenneth Zadeck <zadeck@naturalbridge.com>
>
> * cfg.c (dump_reg_info): Added check to lower max if new regs
> were added.
> * init-regs.c (initialize_uninitialized_regs): Changed code to
> insert move right before uninitized insn.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-regs2.diff
Type: text/x-patch
Size: 3262 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070404/d919238f/attachment.bin>
More information about the Gcc-patches
mailing list