| commit | d6511b49ace8e3d55ad43beb2cb142022a8032cc | [log] [tgz] |
|---|---|---|
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Oct 21 23:00:20 2014 +0000 |
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Oct 21 23:00:20 2014 +0000 |
| tree | ec95b0252ce02c2c5f0445bdbdb53d0081bd9f4c | |
| parent | 44e5b4e533a92ff44ae57cf0129398b162e82bf6 [diff] |
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. llvm-svn: 220341