This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL][Docs] Describe tablegen BIFs declaration
ClosedPublic

Authored by Anastasia on Jan 20 2021, 5:45 AM.

Details

Summary

Added documentation for the fast builtin function declaration with -fdeclare-opencl-builtins.

Diff Detail

Event Timeline

Anastasia created this revision.Jan 20 2021, 5:45 AM
Anastasia requested review of this revision.Jan 20 2021, 5:45 AM

Thanks for working on this!

clang/docs/OpenCLSupport.rst
118
119
120
132

We should also mention that this is (still) an experimental flag, and that behavior of the flag may change in the future.

Anastasia updated this revision to Diff 318208.Jan 21 2021, 7:48 AM

Added suggestions from Sven.

Anastasia added inline comments.Jan 21 2021, 7:50 AM
clang/docs/OpenCLSupport.rst
132

Not against it but it is not strictly necessary - all experimental features in clang can change in many ways normally.

svenvh accepted this revision.Jan 21 2021, 7:52 AM

LGTM, thanks!

This revision is now accepted and ready to land.Jan 21 2021, 7:52 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 25 2021, 3:24 AM