diff options
author | Tres Popp <tpopp@google.com> | 2021-08-10 13:53:59 +0200 |
---|---|---|
committer | Tres Popp <tpopp@google.com> | 2021-08-16 09:26:49 +0200 |
commit | 2848f6966ea35a1e8bdf1668ee4ae8fb0170235c (patch) | |
tree | c38c7617fca07d140fbdd085295d6984dc7c2e4b /llvm/lib/Support/CommandLine.cpp | |
parent | b8d451da8610f0dd3ab55289606d7f2973e708d6 (diff) | |
download | llvm-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