[Mlir-commits] [mlir] b2367cd - [mlir][tosa] Typo in transpose canonicalization message

Kai Sasaki llvmlistbot at llvm.org
Mon May 1 20:01:09 PDT 2023


Author: Kai Sasaki
Date: 2023-05-02T11:47:42+09:00
New Revision: b2367cd207a0f373f88c18fdad4e1232e392a603

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

LOG: [mlir][tosa] Typo in transpose canonicalization message

Added: 
    

Modified: 
    mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp b/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
index 16b8e92444f68..c6851d9532653 100644
--- a/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
+++ b/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
@@ -225,7 +225,7 @@ struct TransposeIsReshape : public OpRewritePattern<tosa::TransposeOp> {
     for (int i = 1, s = nonZeroPerms.size(); i < s; ++i)
       if (nonZeroPerms[i - 1] > nonZeroPerms[i])
         return rewriter.notifyMatchFailure(op,
-                                           "Transpose changes memeory layout.");
+                                           "Transpose changes memory layout.");
 
     SmallVector<int64_t> newShape;
     newShape.reserve(inputTy.getRank());


        


More information about the Mlir-commits mailing list