From: Kai Sasaki Date: Tue, 2 May 2023 02:47:26 +0000 (+0900) Subject: [mlir][tosa] Typo in transpose canonicalization message X-Git-Tag: upstream/17.0.6~9831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2367cd207a0f373f88c18fdad4e1232e392a603;p=platform%2Fupstream%2Fllvm.git [mlir][tosa] Typo in transpose canonicalization message --- diff --git a/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp b/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp index 16b8e92..c6851d9 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 { 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 newShape; newShape.reserve(inputTy.getRank());