[mlir][tosa] Add tosa.depthwise lowering to existing linalg.depthwise_conv
authorRob Suderman <rob.suderman@gmail.com>
Wed, 5 May 2021 20:10:49 +0000 (13:10 -0700)
committerRob Suderman <rob.suderman@gmail.com>
Wed, 5 May 2021 20:30:05 +0000 (13:30 -0700)
commit7abb56c78ba7bb9e2a91f61a65bb8feb69a92865
treeeb52f91378696149ef3da4118420378f6347782c
parent1d767b13bfad806bf584e0b054eb7d00a494591d
[mlir][tosa] Add tosa.depthwise lowering to existing linalg.depthwise_conv

Implements support for undialated depthwise convolution using the existing
depthwise convolution operation. Once convolutions migrate to yaml defined
versions we can rewrite for cleaner implementation.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D101579
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir