[PATCH] D115429: [Clang] Implement the rest of __builtin_elementwise_* functions.

Jun Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 9 00:05:48 PST 2021


junaire created this revision.
junaire added reviewers: fhahn, aaron.ballman.
junaire requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The patch implement the rest of __builtin_elementwise_* functions
specified in D111529 <https://reviews.llvm.org/D111529>, including:

- __builtin_elementwise_floor
- __builtin_elementwise_roundeven
- __builtin_elementwise_trunc

Signed-off-by: Jun <jun at junz.org>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115429

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115429.393051.patch
Type: text/x-patch
Size: 8551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211209/a876fcbf/attachment.bin>


More information about the cfe-commits mailing list