This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][7/6] Allow anonymous SSA names


On Fri, 10 Aug 2012, Jan Hubicka wrote:

> > 
> > This converts most users of create_tmp_{var,reg} to use anonymous
> > SSA names.  To give you one more reason to look at 6/6 ;)
> > 
> > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress.
> 
> Very cool. Thanks for the hard work.  Did you have time to test the memory use effets?
> (I have to read whole series perhaps it is there :)

I have measured the number of decls created before/after the patch
(well, some earlier patch ...) by means of dumping next_decl_uid
after compile_file ().  The number is reduced, that's all I can say.
The main motivation of the patch was to simplify SSA pass coding,
not so much saving memory (for that you'd need to avoid creating the
decls during gimplification in the first place).

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]