So that these utility functions can also be used ViewLikeInterface
ops not in the memref dialect.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
- Buildable 188276 - Build 284432: arc lint + arc unit 
| Paths 
 |  Differential  D134487  
[mlir] NFC: move mergeOffsetsSizesAndStrides into Affine/Utils ClosedPublic Authored by antiagainst on Sep 22 2022, 3:05 PM. 
Details Summary So that these utility functions can also be used ViewLikeInterface 
Diff Detail 
 Event Timelinemravishankar added inline comments. 
 This revision is now accepted and ready to land.Sep 22 2022, 3:07 PM Closed by commit rG465ec4e0b48c: [mlir] NFC: move mergeOffsetsSizesAndStrides into Affine/Utils (authored by antiagainst).  ·  Explain WhySep 23 2022, 10:28 AM This revision was automatically updated to reflect the committed changes. antiagainst added inline comments. 
 
Revision Contents 
 
 
Diff 462309 mlir/include/mlir/Dialect/Affine/ViewLikeInterfaceUtils.h
 
 mlir/include/mlir/Dialect/Tensor/Transforms/TransformUtils.h
 mlir/lib/Dialect/Affine/Utils/CMakeLists.txt
 mlir/lib/Dialect/Affine/Utils/ViewLikeInterfaceUtils.cpp
 mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
 mlir/lib/Dialect/Tensor/Transforms/MergeConsecutiveInsertExtractSlicePatterns.cpp
 utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Nit: you could just inline this into the header file...