[PATCH] D51839: [TableGen] CodeGenDAGPatterns::GenerateVariants - full caching of matching predicates
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 9 06:51:16 PDT 2018
RKSimon created this revision.
RKSimon added reviewers: kparzysz, sdardis, dsanders, fhahn, rengolin, andreadb.
Further extension to https://reviews.llvm.org/D51035, this patch avoids all repeated predicates[] matching by caching as it collects the patterns that have multiple variants.
Saves around 25secs in debug builds of x86 -gen-dag-isel (and finally gets its runtime below 7mins!).
Repository:
rL LLVM
https://reviews.llvm.org/D51839
Files:
utils/TableGen/CodeGenDAGPatterns.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51839.164588.patch
Type: text/x-patch
Size: 4431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180909/11eaf3e7/attachment.bin>
More information about the llvm-commits
mailing list