[PATCH] D36580: [OpenCL] Support variable memory scope in atomic builtins
Tony Tye via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 15 16:27:08 PDT 2017
t-tye added inline comments.
================
Comment at: cfe/trunk/lib/Frontend/InitPreprocessor.cpp:581
// Define macros for the OpenCL memory scope.
// The values should match clang SyncScope enum.
+ static_assert(
----------------
// The values should match clang AtomicScopeOpenCLModel::ID enum.
Repository:
rL LLVM
https://reviews.llvm.org/D36580
More information about the cfe-commits
mailing list