aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorTres Popp <tpopp@google.com>2021-08-10 13:53:59 +0200
committerTres Popp <tpopp@google.com>2021-08-16 09:26:49 +0200
commit2848f6966ea35a1e8bdf1668ee4ae8fb0170235c (patch)
treec38c7617fca07d140fbdd085295d6984dc7c2e4b /llvm/lib/Support/CommandLine.cpp
parentb8d451da8610f0dd3ab55289606d7f2973e708d6 (diff)
downloadllvm-2848f6966ea35a1e8bdf1668ee4ae8fb0170235c.zip
llvm-2848f6966ea35a1e8bdf1668ee4ae8fb0170235c.tar.gz
llvm-2848f6966ea35a1e8bdf1668ee4ae8fb0170235c.tar.bz2
[mlir] Set top-down traversal for LinalgElementwiseOpFusion
The primary pattern for this pass clones many operations from producers to consumers. Doing this top down prevents duplicated work when a producer has multiple consumers, if it also is consuming another linalg.generic. As an example, a chain of ~2600 generics that are fused into ~70 generics was resulting in 16255 pattern invocations. This took 14 seconds on one machine but takes only 0.3 seconds with top-down traversal. Differential Revision: https://reviews.llvm.org/D107818
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions