[mlir][Linalg] Apply fixes to TileReductionUsingForeachThreadOp
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Fri, 9 Dec 2022 12:02:28 +0000 (04:02 -0800)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Fri, 9 Dec 2022 15:51:12 +0000 (07:51 -0800)
commit06ca5c81a4d88d9c33018d5a33e38c449109e5d6
tree495bb25fee91242e5ab80cd6f07d54a1987a3810
parentcf98e8273c5f1c84afcfdd9bcea486ec22f26768
[mlir][Linalg] Apply fixes to TileReductionUsingForeachThreadOp

In the process, numerous insertion point issues were found and fixed.
RAII on insertion points is now used more dilligently.

Differential Revision: https://reviews.llvm.org/D139714
mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Linalg/transform-tile-reduction.mlir