[Mlir-commits] [mlir] [NFC][mlir][scf] Fix misspelling of replace (PR #101683)

Andrey Timonin llvmlistbot at llvm.org
Thu Aug 8 04:50:10 PDT 2024


https://github.com/EtoAndruwa updated https://github.com/llvm/llvm-project/pull/101683

>From eeabd117e741be12c77fa9aca88cd800beb08145 Mon Sep 17 00:00:00 2001
From: EtoAndruwa <timonina1909 at gmail.com>
Date: Fri, 2 Aug 2024 18:09:09 +0300
Subject: [PATCH] [NFC][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