[Mlir-commits] [mlir] [mlir][NFC] Fix typo. (PR #118163)

Longsheng Mou llvmlistbot at llvm.org
Sat Nov 30 01:11:49 PST 2024


https://github.com/CoTinker created https://github.com/llvm/llvm-project/pull/118163

Fixes https://github.com/llvm/llvm-project/issues/117222.

>From 4467ace6c1b9b559c2fc370f0902ad174f751dad Mon Sep 17 00:00:00 2001
From: Longsheng Mou <longshengmou at gmail.com>
Date: Sat, 30 Nov 2024 17:06:09 +0800
Subject: [PATCH] [mlir][NFC] Fix typo.

---
 mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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