commit | 686bd24614a58751a0506b23a94f8c350965704d | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Sep 18 11:30:30 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Sep 18 11:30:30 2018 +0000 |
tree | 3157de21dcdb47f960a36f80ffb3e7f533db48a7 | |
parent | 3208ea15c53d823e31b82aaac58b635a486a3644 [diff] |
[TableGen] CodeGenDAGPatterns::GenerateVariants - full caching of matching predicates Further extension to 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. Differential Revision: https://reviews.llvm.org/D51839 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342467 91177308-0d34-0410-b5e6-96231b3b80d8