Reduction loops with the min function get vectorized today for integers and floats, but in the second case the function attribute "no-nans-fp-math" is required. This patch makes the vectorization for floats not strictly dependent on that, further enabling it if fcmp has the nnan instruction flag.
This issue is alluded to in bug report #35538 https://bugs.llvm.org/show_bug.cgi?id=35538#c1 .