[PATCH] D89372: [OpenCL] Remove unused extensions
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 13:05:47 PDT 2020
yaxunl added a comment.
In D89372#2330868 <https://reviews.llvm.org/D89372#2330868>, @Anastasia wrote:
>> Does the spec requires cl_* macro to be defined if an extension is enabled?
>
> The extension spec currently has:
>
> Every extension which affects the OpenCL language semantics, syntax or adds built-in functions to the language must create a preprocessor #define that matches the extension name string. This #define would be available in the language if and only if the extension is supported on a given implementation.
>
> Those extensions don't affect the language or add any BIFs so my reading from this the macro shouldn't be available.
Thanks. That sounds reasonable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89372/new/
https://reviews.llvm.org/D89372
More information about the cfe-commits
mailing list