This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Make PRE handle globals
> >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?
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.