[PATCH] D111529: Specify Clang vector builtins.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 19 01:16:51 PDT 2021


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: clang/docs/LanguageExtensions.rst:579
+                                         NaNs, fmax() return a NaN.
+ ET __builtin_reduce_add(VT a)           \+                                                               integer and floating point types
+ ET __builtin_reduce_and(VT a)           &                                                                integer types
----------------
kito-cheng wrote:
> The example above use `__builtin_reduce_fadd`, but not listed here? or should we just use `__builtin_reduce_add` for floating point and fix the example?
Thanks it should be `_add` instead of `_fadd`. fixed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111529/new/

https://reviews.llvm.org/D111529



More information about the cfe-commits mailing list