diff --git a/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td b/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td index bc77e688ba46b..9c0db9b3a5107 100644 --- a/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td +++ b/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td @@ -82,7 +82,7 @@ def DestinationStyleOpInterface : OpInterface<"DestinationStyleOpInterface"> { $_op->setOperand($_op.getDpsInits().getBeginOperandIndex() + i, value); } - /// Return the number of DPS inits. + /// Return the number of DPS inputs. int64_t getNumDpsInputs() { return $_op->getNumOperands() - $_op.getNumDpsInits(); }