[PATCH] D136565: [clang] Instantiate alias templates with sugar
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 7 11:09:03 PST 2022
mizvekov added a comment.
In D136565#3911884 <https://reviews.llvm.org/D136565#3911884>, @alexfh wrote:
> Hi Matheus, 279fe6281d2ca5b2318c7437316c28750feaac8d <https://reviews.llvm.org/rG279fe6281d2ca5b2318c7437316c28750feaac8d> causes compilation timeout on some of our internal files.
Hi @alexfh. It looks like somehow we may be creating a crazy amount of extra UsingTypes in your test scenario.
There is a clang flag that prints some performance statistics, including the amount of AST nodes created. I can't lookup the spelling as I am on vacations / on a cellphone for the next two weeks, but I believe this is documented.
One idea to get a reduction here is to perhaps tie your creduce interestingness test to that UsingType count.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136565/new/
https://reviews.llvm.org/D136565
More information about the cfe-commits
mailing list