diff options
author | Luke Hutton <luke.hutton@arm.com> | 2025-03-17 10:22:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 10:22:52 +0000 |
commit | 0c34d7a9e7a4b5d249dda46ff8ab754cf3f934c7 (patch) | |
tree | d57395b1b0ffb1eecf8fae78ebe5a7d40bed089e /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 5c73c5c9bf0e048737682040f22734c3eb63cbbf (diff) | |
download | llvm-0c34d7a9e7a4b5d249dda46ff8ab754cf3f934c7.zip llvm-0c34d7a9e7a4b5d249dda46ff8ab754cf3f934c7.tar.gz llvm-0c34d7a9e7a4b5d249dda46ff8ab754cf3f934c7.tar.bz2 |
[mlir][tosa] Require operand/result tensors of at least rank 1 for some operations (#131335)
This commit updates the following operations (operands/results) to be of
at least rank 1 such that it aligns with the expectations of the
specification:
- ARGMAX (input)
- REDUCE_ALL (input/output)
- REDUCE_ANY (input/output)
- REDUCE_MAX (input/output)
- REDUCE_MIN (input/output)
- REDUCE_PRODUCT (input/output)
- REDUCE_SUM (input/output)
- CONCAT (each input in input1/output)
- PAD (input1/output)
- REVERSE (input1/output)
- SLICE (input1/output)
- TILE (input1/output)
- TRANSPOSE (input1/output)
In addition to this change, PAD has been updated to allow unranked
tensors for input1/output, inline with other operations.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions