Add handling for the "pure", "const" and "convergent" function
attributes for OpenCL builtin functions.
Patch by Pierre Gondois and Sven van Haastregt.
Paths
| Differential D64319
[OpenCL] Add function attributes handling for builtin functions ClosedPublic Authored by svenvh on Jul 8 2019, 3:37 AM.
Details Summary Add handling for the "pure", "const" and "convergent" function Patch by Pierre Gondois and Sven van Haastregt.
Diff Detail
Event TimelineComment Actions
This revision is now accepted and ready to land.Sep 27 2019, 11:35 AM Closed by commit rG9a8d477a0e00: [OpenCL] Add builtin function attribute handling (authored by svenvh). · Explain WhyNov 5 2019, 2:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 227832 clang/lib/Sema/OpenCLBuiltins.td
clang/lib/Sema/SemaLookup.cpp
clang/test/CodeGenOpenCL/fdeclare-opencl-builtins.cl
clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
|