An interface to allow for tiling of operations is introduced. The
tiling of the linalg.pad_tensor operation is modified to use this
interface.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@nicolasvasilache as we discussed from https://reviews.llvm.org/D106406, I used the interface to replace the implementation of the tiling of pad tensor operation. PTAL. (Also FYI @springerm )
| mlir/lib/Interfaces/TilingInterface.cpp | ||
|---|---|---|
| 16 | Prefer using namespace mlir instead. | |
| mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | ||
|---|---|---|
| 800 | nit: no space | |
Great, thanks @maheshkhanwalkar !
| mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
|---|---|---|
| 1236 | the extra {zero, one, one} is unclear to me, could you add some comments ? | |
| 1237 | extra braces | |
| 1257 | Could we expose all these in an AffineArithBuilder similar to ArithBuilder? (I realized they were moved but it would still be useful IMO, not necessarily in this commit). | |
the extra {zero, one, one} is unclear to me, could you add some comments ?