[PATCH] D115231: [Clang] Add __builtin_reduce_xor

Jun Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 8 08:07:31 PST 2021


junaire updated this revision to Diff 392785.
junaire added a comment.

- Add extra type check to the vector elements.
- Add comment about type restriction.
- polish tests a little bit.


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

https://reviews.llvm.org/D115231

Files:
  clang/include/clang/Basic/Builtins.def
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  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: D115231.392785.patch
Type: text/x-patch
Size: 4666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211208/65e37971/attachment-0001.bin>


More information about the cfe-commits mailing list