Issue 149779
Summary Allow scalar tensors to be unranked in the TOSA dialect
Labels good first issue, mlir:tosa
Assignees
Reporter lhutton1
    Scalar operands in the TOSA dialect are currently required to be ranked. This leads to issues/reports similar to the following: https://discourse.llvm.org/t/tosa-pad-operand-must-be-tosa-conformant-scalar-tensor-of-number-values/87432

Scalar tensors are defined with the tablegen definition `Tosa_ScalarTensor`. This issue would require updating this definition to allow a scalar tensor to either be ranked or unranked. A similar pull request for reference can be found here: https://github.com/llvm/llvm-project/pull/143770. Tests should also be added to support the change.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to