projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
243e8f8
)
[mlir][tosa] Typo in transpose canonicalization message
author
Kai Sasaki
<lewuathe@gmail.com>
Tue, 2 May 2023 02:47:26 +0000
(11:47 +0900)
committer
Kai Sasaki
<lewuathe@gmail.com>
Tue, 2 May 2023 02:47:42 +0000
(11:47 +0900)
mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
b/mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
index
16b8e92
..
c6851d9
100644
(file)
--- 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 mem
e
ory layout.");
+ "Transpose changes memory layout.");
SmallVector<int64_t> newShape;
newShape.reserve(inputTy.getRank());