[PATCH]: Make PRE handle globals

Daniel Berlin dberlin@dberlin.org
Sun Jul 8 20:44:00 GMT 2007


On 7/8/07, Jan Hubicka <jh@suse.cz> wrote:
> > >Hi,
> > >this patch apparently cause 6% memory usage growth combine.c compilation
> > >-O3... Those might be just more pseudos to regalloc by more PRE.
> > >
> >
> > It's probably because we had to copy DECL's at every point they have
> > different vuses :)
>
> Apparently the memory usage is mostly back (with 1% regressions
> elsewhere).  I wonder how copying DECLs increased non-GGC memory usage?

They were pool alloc'd.

>
> Honza
> >
> > I've reverted the majority (PRE parts) of the patch, let me know if
> > the memory use doesn't go back down ;)
> >
> > Basically what is left will still propagate constants/etc through
> > globals, but won't move globals around.
>



More information about the Gcc-patches mailing list