Add minnum / maxnum intrinsics

Description

Add minnum / maxnum intrinsics

These are named following the IEEE-754 names for these
functions, rather than the libm fmin / fmax to avoid
possible ambiguities. Some languages may implement something
resembling fmin / fmax which return NaN if either operand is
to propagate errors. These implement the IEEE-754 semantics
of returning the other operand if either is a NaN representing
missing data.

Details

Committed
arsenmOct 21 2014, 4:00 PM
Parents
rL220340: IR: Reorder metadata bitcode serialization, NFC
Branches
Unknown
Tags
Unknown