This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL][Docs] Describe internals of TableGen BIFs
ClosedPublic

Authored by svenvh on Feb 5 2021, 8:58 AM.

Details

Summary

Add a high level explanation of the -fdeclare-opencl-builtins option.

Diff Detail

Event Timeline

svenvh created this revision.Feb 5 2021, 8:58 AM
svenvh requested review of this revision.Feb 5 2021, 8:58 AM
Anastasia accepted this revision.Feb 10 2021, 8:27 AM

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.

clang/docs/OpenCLSupport.rst
142

I suggest to elaborate why it needs modifying i.e. add new function declarations.

This revision is now accepted and ready to land.Feb 10 2021, 8:27 AM
This revision was landed with ongoing or failed builds.Feb 12 2021, 2:03 AM
This revision was automatically updated to reflect the committed changes.