[PATCH] D108461: [OpenCL] Supports optional generic address space sematics in C++ for OpenCL 2021
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 1 10:22:21 PDT 2021
Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.
LGTM! Thanks
================
Comment at: clang/lib/Basic/TargetInfo.cpp:413
OpenCLFeaturesMap, "__opencl_c_generic_address_space");
- Opts.OpenCLPipes =
- hasFeatureEnabled(OpenCLFeaturesMap, "__opencl_c_pipes");
+ if (Opts.OpenCLVersion == 300)
+ Opts.OpenCLPipes =
----------------
Ok, I am guessing this will be changed back to one check later on?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108461/new/
https://reviews.llvm.org/D108461
More information about the cfe-commits
mailing list