[PATCH] D95038: [OpenCL][Docs] Describe tablegen BIFs declaration

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 20 05:57:06 PST 2021


svenvh added a comment.

Thanks for working on this!



================
Comment at: clang/docs/OpenCLSupport.rst:118
+
+In addition to regular header includes with builtin types/functions using
+``-finclude-default-header`` explained in :doc:`UsersManual` clang
----------------



================
Comment at: clang/docs/OpenCLSupport.rst:119
+In addition to regular header includes with builtin types/functions using
+``-finclude-default-header`` explained in :doc:`UsersManual` clang
+support fast mechanism to declare builtin functions with
----------------



================
Comment at: clang/docs/OpenCLSupport.rst:120
+``-finclude-default-header`` explained in :doc:`UsersManual` clang
+support fast mechanism to declare builtin functions with
+``-fdeclare-opencl-builtins``. This does not declare the builtin types and
----------------



================
Comment at: clang/docs/OpenCLSupport.rst:132
+Note that this is a frontend-only flag and therefore it requires the use of
+flags that forward options to the frontend, e.g. ``-cc1`` or ``-Xclang``.
+
----------------
We should also mention that this is (still) an experimental flag, and that behavior of the flag may change in the future.


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

https://reviews.llvm.org/D95038



More information about the cfe-commits mailing list