[PATCH] D111985: [Clang] Add elementwise min/max builtins.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 18 04:47:29 PDT 2021
fhahn created this revision.
fhahn added reviewers: aaron.ballman, scanon, craig.topper, rjmccall, erichkeane.
fhahn requested review of this revision.
Herald added a project: clang.
This patch implements __builtin_elementwise_max and
__builtin_elementwise_min, as specified in D111529 <https://reviews.llvm.org/D111529>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111985
Files:
clang/include/clang/Basic/Builtins.def
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
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: D111985.380342.patch
Type: text/x-patch
Size: 12042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211018/584f7f31/attachment-0001.bin>
More information about the cfe-commits
mailing list