diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2024-12-04 09:17:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 09:17:55 +0000 |
commit | 720864907d1acd9766b5f8140065938c1083cba8 (patch) | |
tree | 56cf134b976e6bbadba390b838b6c2669b18223b /llvm/lib/Bitcode | |
parent | bba2507c19ff678c5d7b18e0b220406be87451fe (diff) | |
download | llvm-720864907d1acd9766b5f8140065938c1083cba8.zip llvm-720864907d1acd9766b5f8140065938c1083cba8.tar.gz llvm-720864907d1acd9766b5f8140065938c1083cba8.tar.bz2 |
[TOSA] Use attributes for unsigned rescale (#118075)
Unsigned integer types are uncommon enough in MLIR that there is no
operation to cast a scalar from signless to unsigned and vice versa.
Currently tosa.rescale uses builtin.unrealized_conversion_cast which
does not lower. Instead, this commit introduces optional attributes to
indicate unsigned input or output, named similarly to those in the TOSA
specification. This is more in line with the rest of MLIR where specific
operations rather than values are signed/unsigned.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions