[all-commits] [llvm/llvm-project] 86c497: [mlir][tosa] Improve lowering support for tosa.concat
Rob Suderman via All-commits
all-commits at lists.llvm.org
Thu Jun 15 11:41:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86c4972f5f6759b0ba85c568d934f9b8db8875a2
https://github.com/llvm/llvm-project/commit/86c4972f5f6759b0ba85c568d934f9b8db8875a2
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
M mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
Log Message:
-----------
[mlir][tosa] Improve lowering support for tosa.concat
The existing lowering for tosa.concat fails in some instances when the
output shape contains more information the input shapes. The result is
an illegal tensor.empty operation.
This change bases the output shape on the original tosa.concat
operation, while querying the input tensor shapes to build the slicing
operations.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D151707
More information about the All-commits
mailing list