[PATCH] D100935: [OpenCL] Add missing C++ legacy atomics with generic

2021-04-22 Thread Sven van Haastregt via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG4138e7bd7692: [OpenCL] Add missing C++ legacy atomics with generic (authored by svenvh). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST A

[PATCH] D100935: [OpenCL] Add missing C++ legacy atomics with generic

2021-04-21 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia accepted this revision. Anastasia added a comment. This revision is now accepted and ready to land. LGTM! I realized that as they haven't been added to the OpenCL 3 yet it means they remain as Clang extension. I am going to document this. We could allow their uses in OpenCL C too as a

[PATCH] D100935: [OpenCL] Add missing C++ legacy atomics with generic

2021-04-21 Thread Sven van Haastregt via Phabricator via cfe-commits
svenvh created this revision. svenvh added reviewers: Anastasia, olestrohm. svenvh added a project: clang. Herald added subscribers: ldrumm, jfb, yaxunl. svenvh requested review of this revision. Herald added a subscriber: cfe-commits. https://reviews.llvm.org/D62335 added some C++ for OpenCL spec