Reapply "InstCombine: Introduce SimplifyDemandedUseFPClass"" (#74056)
This reverts commit ef388334. The referenced issue violates the spec for finite-only math only by using a return value for a constant infinity. If the interpretation is results and arguments cannot violate nofpclass, then any std::numeric_limits<T>::infinity() result is invalid under -ffinite-math-only. Without this interpretation the utility of nofpclass is slashed.
parent
a24b0c35
Please register or sign in to comment