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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Aug 15 02:41:00 PDT 2024


Author: Andrey Timonin
Date: 2024-08-15T11:40:55+02:00
New Revision: ed8cfb651327a00f6ccf2b26890ee921f16f64a2

URL: https://github.com/llvm/llvm-project/commit/ed8cfb651327a00f6ccf2b26890ee921f16f64a2
DIFF: https://github.com/llvm/llvm-project/commit/ed8cfb651327a00f6ccf2b26890ee921f16f64a2.diff

LOG: [NFC][mlir][scf] Fix misspelling of replace (#101683)

Added: 
    

Modified: 
    mlir/lib/Dialect/SCF/IR/SCF.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/SCF/IR/SCF.cpp b/mlir/lib/Dialect/SCF/IR/SCF.cpp
index 4de8dacc0edbf3..e92d9503372cdf 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