diff options
author | Lei Zhang <antiagainst@google.com> | 2022-09-20 19:52:19 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2022-09-20 19:52:56 -0400 |
commit | bb4c53b7ba113b274ad0fd8d881313509947c896 (patch) | |
tree | 15736d8d7d937b5a3ca15e145f624706e85f5126 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 42bcb35c0f2946b66ae397515823a3792f14b067 (diff) | |
download | llvm-bb4c53b7ba113b274ad0fd8d881313509947c896.zip llvm-bb4c53b7ba113b274ad0fd8d881313509947c896.tar.gz llvm-bb4c53b7ba113b274ad0fd8d881313509947c896.tar.bz2 |
[mlir][tensor] Merge consecutive insert_slice/extract_slice ops
Consecutive tensor.insert_slice/tensor.extract_slice can be
created for the case like tiling convolution and then downsizing
2-D convolutions into 1-D ones. It hinders further transformations.
So adding these patterns to clean it up.
Given that bufferization is sensitive and have requirements over
the IR structure (see https://reviews.llvm.org/D132666),
these patterns are put in Transforms/ with separate entry points
for explicit collection.
Reviewed By: ThomasRaoux, mravishankar
Differential Revision: https://reviews.llvm.org/D133871
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions