[llvm-commits] [PATCH] Make TableGen Inits FoldingSetNodes

David Greene dag at cray.com
Fri Jul 8 09:41:13 PDT 2011


Here's a patch to manage TableGen Inits using a FoldingSet.  This allows
us to clean up all of the allocated Inits on TableGen exit, saves memory
and makes TableGen run a bit faster due to elimination of duplicate
objects.

Comments?  I'm ready to commit this ASAP.

                                 -Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.diff
Type: text/x-patch
Size: 249843 bytes
Desc: Patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110708/de68b570/attachment.bin>


More information about the llvm-commits mailing list