[all-commits] [llvm/llvm-project] c8ac14: [MLIR][Tosa] Pass encoding through `tosa-to-linalg`
Rik Huijzer via All-commits
all-commits at lists.llvm.org
Thu Jun 15 10:45:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c8ac14d754088b19c659ca0915229f1f28776831
https://github.com/llvm/llvm-project/commit/c8ac14d754088b19c659ca0915229f1f28776831
Author: rikhuijzer <rikhuijzer at pm.me>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-invalid.mlir
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
Log Message:
-----------
[MLIR][Tosa] Pass encoding through `tosa-to-linalg`
As pointed out by @Sinclair-Dee in
https://github.com/llvm/llvm-project/issues/62304, the `tosa-to-linalg`
conversion ignored the `encoding` attribute.
Also, this patch avoids an assertion error crash on unranked tensors.
Instead, the conversion now throws a "failed to legalize" error.
Fixes #62304 and fixes #63165.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D152171
More information about the All-commits
mailing list