This op fuses a given payload op into a given container op. Inside the container, all uses of the producer are replaced (fused) with the newly inserted op. If the producer is tileable and accessed via a tensor.extract_slice, the new op computes only the requested slice ("tile and fuse"). Otherwise, the entire tensor value is computed inside the container ("clone and fuse").
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Could you rebase on https://reviews.llvm.org/D130267 and cut down on verbose matchers ?
Thanks!
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp | ||
---|---|---|
227 | Please add a TODO to generalize to more extract/insert/parallel_insert triples of ops. | |
246 | Please add a TODO: Evolve into an Interface | |
259 | Please rephrase to // Replace the extract op to be more genberic. |
Please add a TODO to generalize to more extract/insert/parallel_insert triples of ops.