joker-eph wrote: clampf is expanded to arith.minimumf` + `arith.maximumf` by `math-expand-ops`, so I'm not sure if this patch is desirable or if we should close the bug as "not a bug"... https://github.com/llvm/llvm-project/pull/188776