[Mlir-commits] [mlir] a4c3683 - [mlir][NFC] Fix typo. (#118163)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Dec 1 17:20:39 PST 2024
Author: Longsheng Mou
Date: 2024-12-02T09:20:36+08:00
New Revision: a4c3683b665c6ac875b4821f5c6a881fdf5fef70
URL: https://github.com/llvm/llvm-project/commit/a4c3683b665c6ac875b4821f5c6a881fdf5fef70
DIFF: https://github.com/llvm/llvm-project/commit/a4c3683b665c6ac875b4821f5c6a881fdf5fef70.diff
LOG: [mlir][NFC] Fix typo. (#118163)
Fixes https://github.com/llvm/llvm-project/issues/117222.
Added:
Modified:
mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td b/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td
index bc77e688ba46b9..9c0db9b3a51076 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();
}
More information about the Mlir-commits
mailing list