================ @@ -745,12 +745,12 @@ 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. If the element type is integer and floating point types + floating point, this function has the same comparison semantics as + ``__builtin_reduce_maximum``. + ET __builtin_reduce_min(VT a) return the smallest element of the vector. If the element type is integer and floating point types + floating point, this function has the same comparison semantics as ---------------- c8ef wrote:
Based on [the quote](https://llvm.org/docs/LangRef.html#llvm-vector-reduce-fmax-intrinsic) above, I believe that even though they use different intrinsics, they still have the same comparison semantics. 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