[all-commits] [llvm/llvm-project] 198d1d: [mlir][tosa] Prefer tosa.transpose composition can...
Rob Suderman via All-commits
all-commits at lists.llvm.org
Wed Jan 18 09:14:01 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 198d1d99769700d0136ac90275a8d6fa1871accf
https://github.com/llvm/llvm-project/commit/198d1d99769700d0136ac90275a8d6fa1871accf
Author: Rob Suderman <suderman at google.com>
Date: 2023-01-18 (Wed, 18 Jan 2023)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
A mlir/test/Dialect/Tosa/transpose-fold.mlir
R mlir/test/IR/transpose-fold.mlir
Log Message:
-----------
[mlir][tosa] Prefer tosa.transpose composition canonicalization to reshape
It is preferred to merge tosa.transpose operations together rather than convert
one to a tosa.reshape. This is to leverage the tosa.transpose -> tosa.transpose
merging canonicalization.
Reviewed By: AviadCo
Differential Revision: https://reviews.llvm.org/D141434
More information about the All-commits
mailing list