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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits