Skip to content

Commit 7420f96

Browse files
committed
[TableGen] Move generated *Attr class methods out of line
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. Reviewed By: aaron.ballman, rjmccall Differential Revision: https://reviews.llvm.org/D76040
1 parent e79397f commit 7420f96

File tree

1 file changed

+206
-133
lines changed

1 file changed

+206
-133
lines changed

0 commit comments

Comments
 (0)