Use +/-Inf or +/-Largest as neutral element for nnan fmin/fmax reductions. Using NaN requires dropping the nnan flag, which is important to get a good lowering on X86.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Now that D87571 also handles the FLT_MAX case, adjust this patch to use either NaN, Inf or FLT_MAX as the neutral element for fminnum (and same negative for fmaxnum). This means we never have to drop FMF.
clang-format: please reformat the code