[PATCH] D139640: clang: Add __builtin_elementwise canonicalize and copysign

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 8 08:46:41 PST 2022


arsenm created this revision.
arsenm added reviewers: fhahn, scanon.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

Just copy paste from the other functions. I also need fma, but
the current code seems to assume 1 or 2 arguments.


https://reviews.llvm.org/D139640

Files:
  clang/docs/LanguageExtensions.rst
  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: D139640.481298.patch
Type: text/x-patch
Size: 10520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221208/153725ff/attachment.bin>


More information about the cfe-commits mailing list