[PATCH] D76040: [TableGen] Move generated *Attr class methods out of line
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 20:21:38 PDT 2020
rnk created this revision.
rnk added reviewers: aaron.ballman, rjmccall, jdoerfert.
Herald added a project: clang.
After this change, clang spends ~200ms parsing Attrs.inc instead of
~560ms. A large part of the cost was from the StringSwitch
instantiations, but this is a good way to avoid similar problems in the
future.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76040
Files:
clang/utils/TableGen/ClangAttrEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76040.249817.patch
Type: text/x-patch
Size: 19823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200312/0937d0f7/attachment-0001.bin>
More information about the cfe-commits
mailing list