https://github.com/kuhar requested changes to this pull request. IIRC, we don't care about signaling NaNs but should otherwise distinguish between the 3 versions of max/min. https://github.com/llvm/llvm-project/pull/114595