[Mlir-commits] [mlir] [MLIR] Add `InParallelOpInterface` for parallel combining operations (PR #157736)
Quinn Dawkins
llvmlistbot at llvm.org
Wed Sep 10 07:12:06 PDT 2025
================
@@ -4140,11 +4141,14 @@ DiagnosedSilenceableFailure doit(RewriterBase &rewriter, OpTy target,
return DiagnosedSilenceableFailure::success();
}
- // If we are inside an InParallel region, temporarily set the insertion point
- // outside: only tensor.parallel_insert_slice ops are allowed in there.
- if constexpr (std::is_same_v<OpTy, tensor::ParallelInsertSliceOp>) {
- rewriter.setInsertionPoint(
- target->template getParentOfType<scf::InParallelOp>());
+ // If we are inside an ParallelCombiningOp region, temporarily set the
----------------
qedawkins wrote:
```suggestion
// If we are inside a ParallelCombiningOp region, temporarily set the
```
https://github.com/llvm/llvm-project/pull/157736
More information about the Mlir-commits
mailing list