[PATCH] D75917: Expose llvm fence instruction as clang intrinsic

Brian Sumner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 14:41:10 PDT 2020


b-sumner added a comment.

In addition to predefining `__ATOMIC_RELAXED`, etc., clang also predefines `__OPENCL_MEMORY_SCOPE_WORK_ITEM` and friends.  So it doesn't really seem unreasonable for clang to also predefine its known syncscopes, and to require the argument to be one of those integers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75917/new/

https://reviews.llvm.org/D75917





More information about the cfe-commits mailing list