[llvm-commits] [gcc-plugin] r81105 - /gcc-plugin/trunk/TODO

Duncan Sands baldrick at free.fr
Sun Sep 6 01:32:05 PDT 2009


Author: baldrick
Date: Sun Sep  6 03:32:04 2009
New Revision: 81105

URL: http://llvm.org/viewvc/llvm-project?rev=81105&view=rev
Log:
Notes on possible improvements to the caching of
values "in" GCC trees.

Modified:
    gcc-plugin/trunk/TODO

Modified: gcc-plugin/trunk/TODO
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/TODO?rev=81105&r1=81104&r2=81105&view=diff

==============================================================================
--- gcc-plugin/trunk/TODO (original)
+++ gcc-plugin/trunk/TODO Sun Sep  6 03:32:04 2009
@@ -55,3 +55,12 @@
 (eg: TREE_ASM_WRITTEN) so that GCC does not output them (such output gets sent
 to /dev/null, but it would be more efficient to teach GCC to not produce any in
 the first place).  Investigate.
+
+Consider having DECL_LLVM and friends store values for trees local to a
+function in a separate map that can be cleared once the function has been
+emitted.  Determining which trees are local (LABEL_DECL, VAR_DECL but not
+static etc) should be pretty quick, so the cost of routing to the right map
+should be insignificant, while having a much smaller map for globals could
+be a win.
+
+Consider using separate caches for types and globals.





More information about the llvm-commits mailing list