[Mlir-commits] [mlir] [mlir][scf] Fix misspelling of replace (PR #101683)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Aug 2 08:10:16 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-scf
Author: Andrey Timonin (EtoAndruwa)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/101683.diff
1 Files Affected:
- (modified) mlir/lib/Dialect/SCF/IR/SCF.cpp (+1-1)
``````````diff
diff --git a/mlir/lib/Dialect/SCF/IR/SCF.cpp b/mlir/lib/Dialect/SCF/IR/SCF.cpp
index 4de8dacc0edbf..e92d9503372cd 100644
--- a/mlir/lib/Dialect/SCF/IR/SCF.cpp
+++ b/mlir/lib/Dialect/SCF/IR/SCF.cpp
@@ -4322,7 +4322,7 @@ struct FoldConstantCase : OpRewritePattern<scf::IndexSwitchOp> {
rewriter.inlineBlockBefore(&source, op);
rewriter.eraseOp(terminator);
- // Repalce the operation with a potentially empty list of results.
+ // Replace the operation with a potentially empty list of results.
// Fold mechanism doesn't support the case where the result list is empty.
rewriter.replaceOp(op, results);
``````````
</details>
https://github.com/llvm/llvm-project/pull/101683
More information about the Mlir-commits
mailing list