We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e84f69 commit 95e9841Copy full SHA for 95e9841
mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
@@ -633,13 +633,8 @@ def ForallOp : SCF_Op<"forall", [
633
634
InParallelOp getTerminator();
635
636
- // Implement this to declare all shared_outs as inits/outs to
637
- // DestinationStyleOpInterface
638
- std::pair<int64_t, int64_t> getDpsInitsPositionRange() {
639
- int64_t numOperands = getNumOperands();
640
- int64_t numOuts = getOutputs().size();
641
- return {numOperands - numOuts, numOperands};
642
- }
+ // Declare the shared_outs as inits/outs to DestinationStyleOpInterface.
+ MutableOperandRange getDpsInitsMutable() { return getOutputsMutable(); }
643
}];
644
}
645
0 commit comments