[PATCH] D116736: [Clang] Add __builtin_reduce_or and __builtin_reduce_and

Jun Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 6 03:57:45 PST 2022


junaire created this revision.
junaire added a reviewer: fhahn.
junaire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch implements two builtins specified in D111529 <https://reviews.llvm.org/D111529>.
The last __builtin_reduce_add will be seperated into another one.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116736

Files:
  clang/include/clang/Basic/Builtins.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/builtins-reduction-math.c
  clang/test/Sema/builtins-reduction-math.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116736.397846.patch
Type: text/x-patch
Size: 4971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220106/8749f413/attachment.bin>


More information about the cfe-commits mailing list