[clang] [clang][docs] Revise documentation for `__builtin_reduce_(max|min)`. (PR #114637)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 07:39:18 PST 2024


c8ef wrote:

I apologize for my earlier mistake. The function `__builtin_reduce_max` behaves differently from `__builtin_reduce_maximum` when working with floating point numbers. The former will only return nan if all elements are nan, while the latter will return nan if any element in the vector is nan. The most recent patch corrects the wording error and restores the nan semantics. Please take another look.
@arsenm @RKSimon 

https://github.com/llvm/llvm-project/pull/114637


More information about the cfe-commits mailing list