This is useful to materialize copies explicitly before bufferization and
transform them, avoiding the need to rediscover them after bufferization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D148108
[mlir][Linalg] Add a structured transform to materialize a tensor.insert_slice via a linalg.copy ClosedPublic Authored by nicolasvasilache on Apr 12 2023, 3:51 AM.
Details Summary This is useful to materialize copies explicitly before bufferization and
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 12 2023, 3:54 AM This revision was landed with ongoing or failed builds.Apr 12 2023, 4:05 AM Closed by commit rG93a735ac789d: [mlir][Linalg] Add a structured transform to materialize a tensor.insert_slice… (authored by nicolasvasilache). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512765 mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h
mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/test/Dialect/Linalg/transform-op-insert-slice-to-copy.mlir
|
Nit: can we use transform.any_op instead of pdl here?