[PATCH] D118605: [OpenCL] Add support of language builtins for OpenCL C 3.0
Anton Zabaznov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 11 03:16:16 PST 2022
azabaznov added a comment.
> There are tests checking for this (e.g. clang/test/Frontend/opencl.cl), so we need this check to preserve the existing behavior indeed.
Thanks. The other test is `SemaOpenCL/clang-builtin-version.cl`.
> But it might be worth asking someone outside of the OpenCL community whether it's desirable to use the LanguageID enum in this way.
I personally think this looks good now, for OpenCL in particularly, as it became version-agnostic (except for DSE). But we still are querying language options only, and we expect language options for generic AS, pipes and DSE to be immutable at this point.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118605/new/
https://reviews.llvm.org/D118605
More information about the cfe-commits
mailing list