[mlir][SCF][bufferize][NFC] Implement resolveConflicts for ParallelInsertSliceOp
authorMatthias Springer <springerm@google.com>
Tue, 28 Jun 2022 10:02:28 +0000 (12:02 +0200)
committerMatthias Springer <springerm@google.com>
Tue, 28 Jun 2022 10:18:22 +0000 (12:18 +0200)
commit04dac2ca7c06d0ce173e53527e3b90a07e3b325d
treec81b70511d170587dd3ee6b597d9a0025e590113
parentf6f53e990d0ed3ec2162c6f4f7afab2e433eec63
[mlir][SCF][bufferize][NFC] Implement resolveConflicts for ParallelInsertSliceOp

This was previous implemented as part of the BufferizableOpInterface of ForEachThreadOp. Moving the implementation to ParallelInsertSliceOp to be consistent with the remaining ops and to have a nice example op that can serve as a blueprint for other ops.

Differential Revision: https://reviews.llvm.org/D128666
mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
mlir/lib/Dialect/SCF/IR/SCF.cpp
mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp