[Mlir-commits] [mlir] [mlir][math] Fix the description of the semantics of math.clampf (PR #175012)

Jakub Kuderski llvmlistbot at llvm.org
Thu Jan 15 10:42:05 PST 2026


kuhar wrote:

> > I wonder if we should also say that if min > max the result is poison?
> 
> I think we should, I would even argue that we should canonicalize to `ub.poison` if it's statically known, but that's introducing a dependent dialect.

We don't do it in arith either for the same reason.

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


More information about the Mlir-commits mailing list