[mlir][tosa] Swap the reshape at the end of the reduce op for an expand_shape in...
authornatashaknk <natashaknk@google.com>
Mon, 3 Oct 2022 17:07:57 +0000 (10:07 -0700)
committerRob Suderman <suderman@google.com>
Mon, 3 Oct 2022 17:32:23 +0000 (10:32 -0700)
commit9bcda47afcb4af2831654d7c31ad2e956202fed0
treeda7e2d6b8500c8ce4ea6e210e8ed8ba1b9e42f57
parent017552e8b8b31342064f3c00a92870fbf0e32040
[mlir][tosa] Swap the reshape at the end of the reduce op for an expand_shape in tosa-to-linalg

Reviewed By: rsuderman

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