llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: None (c8ef) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/114637.diff 1 Files Affected: - (modified) clang/docs/LanguageExtensions.rst (+2-6) ``````````diff diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index 10232ff41da15a..b7676bab623ef8 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/docs/LanguageExtensions.rst @@ -745,12 +745,8 @@ Let ``VT`` be a vector type and ``ET`` the element type of ``VT``. ======================================= ====================================================================== ================================== Name Operation Supported element types ======================================= ====================================================================== ================================== - ET __builtin_reduce_max(VT a) return x or y, whichever is larger; If exactly one argument is integer and floating point types - a NaN, return the other argument. If both arguments are NaNs, - fmax() return a NaN. - ET __builtin_reduce_min(VT a) return x or y, whichever is smaller; If exactly one argument integer and floating point types - is a NaN, return the other argument. If both arguments are - NaNs, fmax() return a NaN. + ET __builtin_reduce_max(VT a) return the largest element of the vector. integer and floating point types + ET __builtin_reduce_min(VT a) return the smallest element of the vector. integer and floating point types ET __builtin_reduce_add(VT a) \+ integer types ET __builtin_reduce_mul(VT a) \* integer types ET __builtin_reduce_and(VT a) & integer types `````````` </details> https://github.com/llvm/llvm-project/pull/114637 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits