Issue |
135699
|
Summary |
[MLIR] `tosa.rescale` op validation incorrectly fails on unsigned integer type
|
Labels |
mlir
|
Assignees |
|
Reporter |
samvid25
|
See godbolt: https://godbolt.org/z/8z6Ycahnv
According to the TOSA Spec ([here](https://www.mlplatform.org/tosa/tosa_spec.html#_integer_behavior)), unsigned 8 and 16-bit types are allowed in the RESCALE operation. The TOSA dialect docs specify the same as well ([here](https://github.com/llvm/llvm-project/blob/76db259080fa134579f31d76fe9ab462f47eca87/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td#L2360)).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs