[PATCH] D156737: clang: Add __builtin_elementwise_sqrt

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 31 13:40:36 PDT 2023


arsenm created this revision.
arsenm added reviewers: yaxunl, fhahn, bob80905.
Herald added subscribers: StephenFan, Anastasia.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

This will be used in the opencl builtin headers to provide direct
intrinsic access with proper !fpmath metadata.


https://reviews.llvm.org/D156737

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/CodeGen/strictfp-elementwise-bulitins.cpp
  clang/test/CodeGenCUDA/correctly-rounded-div.cu
  clang/test/CodeGenOpenCL/fpmath.cl
  clang/test/Sema/builtins-elementwise-math.c
  clang/test/SemaCXX/builtins-elementwise-math.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156737.545785.patch
Type: text/x-patch
Size: 9506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230731/30b8614b/attachment.bin>


More information about the cfe-commits mailing list