[llvm] [mlir] [MLIR] Add `InParallelOpInterface` for parallel combining operations (PR #157736)
Han-Chung Wang via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 12 13:41:27 PDT 2025
================
@@ -3935,6 +3934,20 @@ llvm::SmallBitVector ParallelInsertSliceOp::getDroppedDims() {
return ::getDroppedDims(getSourceType().getShape(), getMixedSizes());
}
+// ParallelCombiningOpInterface implementation
+MutableOperandRange ParallelInsertSliceOp::getUpdatedDestinations() {
+ return getDestMutable();
+}
+
+Operation *ParallelInsertSliceOp::getIteratingParent() {
+ // Return the parent InParallelOpInterface's parent
----------------
hanhanW wrote:
```suggestion
// Return the parent InParallelOpInterface's parent.
```
https://github.com/llvm/llvm-project/pull/157736
More information about the llvm-commits
mailing list