Issue 150519
Summary Allow scalar int8 tensors to be unranked in the TOSA dialect
Labels good first issue
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_ScalarInt8Tensor. 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 or here: https://github.com/llvm/llvm-project/pull/150399. 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