[PATCH][varmap] Some cleanups
Richard Guenther
richard.guenther@gmail.com
Wed Dec 12 22:35:00 GMT 2007
On Dec 12, 2007 10:50 PM, Sebastian Pop <sebpop@gmail.com> wrote:
> Hi,
>
> I went over the changes in the varmap branch, and added some
> missing comments. Patch attached.
This is ok to apply - thanks.
> There are a few new htabs that attach bitmaps to decls, and this could
> increase unexpectedly the compiler memory. Do you have some numbers
> for the compile-time memory usage with the code in the branch?
I only did some statistics on what percentage of decls get a bitmap and with
how many bits it is populated. For the current state of the branch it was less
than 1% of the decls (tramp3d has around 1M decls in total) and the average
number of bits was around 3 (the maximum was around 17). So certainly a
more memory efficient (or also performant) representation may be better
in the end.
To say - we're still in the prototype phase and the final part (making
var-tracking
and dwarf2out benefit from the extra information) is not yet on the branch.
Thanks,
Richard.
More information about the Gcc-patches
mailing list