[clang] [Clang] Introduce scoped variants of GNU atomic functions (PR #72280)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 06:57:01 PST 2023


yxsamliu wrote:

Overall I think it is the right way to go. Memory scope has been used by different offloading languages and the atomic clang builtins are essentially the same. Adding a generic clang atomic builtins with memory scope allows code sharing among offloading languages.

https://github.com/llvm/llvm-project/pull/72280


More information about the cfe-commits mailing list