[all-commits] [llvm/llvm-project] dfd070: [mlir][tosa] Allow optional TOSA decompositions to...
Aaron DeBattista via All-commits
all-commits at lists.llvm.org
Tue Jan 11 10:28:06 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfd070820cbae9d6864a7de20ae81757d199fc61
https://github.com/llvm/llvm-project/commit/dfd070820cbae9d6864a7de20ae81757d199fc61
Author: Aaron DeBattista <aaron.debattista at arm.com>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
M mlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeConv2D.cpp
A mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeDepthwise.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
R mlir/lib/Dialect/Tosa/Transforms/TosaOptimization.cpp
A mlir/lib/Dialect/Tosa/Transforms/TosaOptionalDecompositions.cpp
R mlir/test/Dialect/Tosa/operation_optimization.mlir
A mlir/test/Dialect/Tosa/tosa-decompose-conv2d.mlir
A mlir/test/Dialect/Tosa/tosa-decompose-depthwise.mlir
M mlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir
Log Message:
-----------
[mlir][tosa] Allow optional TOSA decompositions to be populated separately
Moved all TOSA decomposition patterns so that they can be optionally populated
and used by external rewrites. This avoids decomposing TOSa operations when
backends may benefit from the non-decomposed version.
Reviewed By: rsuderman, mehdi_amini
Differential Revision: https://reviews.llvm.org/D116526
More information about the All-commits
mailing list