[Mlir-commits] [mlir] [mlir][tosa] Disallow boolean as element type for Clamp (PR #149312)

Luke Hutton llvmlistbot at llvm.org
Thu Jul 17 10:44:38 PDT 2025


lhutton1 wrote:

Thanks for the fix. While the specification doesn't allow clamp on boolean types, the dialect is designed to be more flexible than the specification. Conformance to the specification can be checked using `--tosa-validate`. Out of curiosity, would the described issue linked above be fixed if we updated the clamp folder to support boolean types? I'm wondering if we should support it in the folder, rather than restrict construction

https://github.com/llvm/llvm-project/pull/149312


More information about the Mlir-commits mailing list