[PATCH] D96150: [OpenCL][Docs] Describe internals of TableGen BIFs

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 10 08:27:09 PST 2021


Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.

Ok, this looks like a good start.  Later we can add a bit more information/guidance on how to add new function specifically how to specify parameter or return types, overloads, and attributes.



================
Comment at: clang/docs/OpenCLSupport.rst:142
+  representation of the supported builtin functions.  When adding new builtin
+  functions, this is normally the only file that needs modifying.
+
----------------
I suggest to elaborate why it needs modifying i.e. add new function declarations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96150



More information about the cfe-commits mailing list