Matthias Gehre 8d237190ec
TosaToLinalg: Support unsigned tosa.clamp (#91749)
This implements the lowering of tosa.clamp with unsigned operand to
linalg.

We interpret the `min/max : i64`  attributes on `clamp` to be signed.

This means that when the operand has type `ui64`, one cannot represent
limits across the whole range.
2024-06-27 18:05:40 +02:00
..

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.