[all-commits] [llvm/llvm-project] 06c440: [mlir][tosa] Canonicalize tosa.transpose to tosa.r...
Rob Suderman via All-commits
all-commits at lists.llvm.org
Tue Jan 3 11:21:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06c440f2dac2598308d777e704cc4866471af561
https://github.com/llvm/llvm-project/commit/06c440f2dac2598308d777e704cc4866471af561
Author: Rob Suderman <suderman at google.com>
Date: 2023-01-03 (Tue, 03 Jan 2023)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
M mlir/test/Dialect/Tosa/constant-op-fold.mlir
Log Message:
-----------
[mlir][tosa] Canonicalize tosa.transpose to tosa.reshape
Added tosa.transpose canonicalization for case where a tosa.transpose is
equivalent to a tosa.reshape. This occurs when the permutation does not
permutate non-unary dimensions.
Reviewed By: NatashaKnk
Differential Revision: https://reviews.llvm.org/D140356
More information about the All-commits
mailing list