[Mlir-commits] [mlir] [mlir][NFC] Fix typo. (PR #118163)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Nov 30 01:12:19 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Longsheng Mou (CoTinker)
<details>
<summary>Changes</summary>
Fixes https://github.com/llvm/llvm-project/issues/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
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();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/118163
More information about the Mlir-commits
mailing list