[Mlir-commits] [mlir] [mlir][scf] Fix misspelling of replace (PR #101683)
Andrey Timonin
llvmlistbot at llvm.org
Fri Aug 2 08:09:41 PDT 2024
https://github.com/EtoAndruwa created https://github.com/llvm/llvm-project/pull/101683
None
>From a36b2444ffb989a2ba26f5582d1f5c51c278a3f2 Mon Sep 17 00:00:00 2001
From: EtoAndruwa <timonina1909 at gmail.com>
Date: Fri, 2 Aug 2024 18:09:09 +0300
Subject: [PATCH] [mlir][scf] Fix misspelling of replace
---
mlir/lib/Dialect/SCF/IR/SCF.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the Mlir-commits
mailing list