[Mlir-commits] [mlir] [MLIR][Linalg] Add `maximumf` as an binary `linalg.elementwise` fn (PR #153635)
Adam Siemieniuk
llvmlistbot at llvm.org
Fri Aug 15 05:40:52 PDT 2025
adam-smnk wrote:
> Never mind. Both `linalg.elementwise kind=#linalg.elementwise_kind<max_unsigned>` and `linalg.elementwise kind=#linalg.elementwise_kind<max_signed>` give the right -- and same -- behaviour on floats. (For me personally though, can't say that that's the _expected_ behaviour...)
Agreed. I think this original design is a carryover from previous eltwise ops.
These enums should be future refined at some point.
https://github.com/llvm/llvm-project/pull/153635
More information about the Mlir-commits
mailing list