Skip to content

Conversation

@CoTinker
Copy link
Contributor

Fixes #117222.

@llvmbot
Copy link
Member

llvmbot commented Nov 30, 2024

@llvm/pr-subscribers-mlir

Author: Longsheng Mou (CoTinker)

Changes

Fixes #117222.


Full diff: https://github.com/llvm/llvm-project/pull/118163.diff

1 Files Affected:

  • (modified) mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td (+1-1)
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();
     }

@CoTinker
Copy link
Contributor Author

CoTinker commented Dec 2, 2024

Thanks.

@CoTinker CoTinker merged commit a4c3683 into llvm:main Dec 2, 2024
10 checks passed
@CoTinker CoTinker deleted the typo branch December 2, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation typo in DestinationStyleOpInterface

3 participants