[PATCH] D92674: [TableGen] Cache the vectors of records returned by getAllDerivedDefinitions().
Paul C. Anagnostopoulos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 6 10:38:07 PST 2020
Paul-C-Anagnostopoulos updated this revision to Diff 309779.
Paul-C-Anagnostopoulos added a comment.
I've taken David's advice and now used StringMap. This time I measured and got about a 3% improvement with this caching.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92674/new/
https://reviews.llvm.org/D92674
Files:
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Record.cpp
llvm/utils/TableGen/CodeGenDAGPatterns.cpp
llvm/utils/TableGen/CodeGenMapTable.cpp
llvm/utils/TableGen/InstrInfoEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92674.309779.patch
Type: text/x-patch
Size: 8062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201206/c926807f/attachment.bin>
More information about the llvm-commits
mailing list