This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository clang.
from 7777ca006a clang-format: [JS] support fields with case/switch/default labels. new 84162ace30 Add OpenCL 2.0 atomic builtin functions as Clang builtin
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: docs/LanguageExtensions.rst | 8 +- include/clang/AST/Expr.h | 23 +++- include/clang/Basic/Builtins.def | 15 +++ include/clang/Basic/DiagnosticSemaKinds.td | 8 +- include/clang/Basic/SyncScope.h | 39 ++++++ lib/AST/ASTContext.cpp | 9 +- lib/AST/Expr.cpp | 31 ++++- lib/AST/StmtPrinter.cpp | 6 +- lib/Basic/Targets/AMDGPU.cpp | 2 + lib/CodeGen/CGAtomic.cpp | 186 +++++++++++++++++++++++------ lib/CodeGen/CGExpr.cpp | 2 +- lib/CodeGen/TargetInfo.cpp | 27 +++++ lib/CodeGen/TargetInfo.h | 5 + lib/Frontend/InitPreprocessor.cpp | 13 ++ lib/Headers/opencl-c.h | 25 ++-- lib/Sema/SemaChecking.cpp | 94 ++++++++++++--- test/CodeGenOpenCL/atomic-ops-libcall.cl | 37 ++++++ test/CodeGenOpenCL/atomic-ops.cl | 176 +++++++++++++++++++++++++++ test/Preprocessor/init.c | 10 ++ test/Preprocessor/predefined-macros.c | 8 ++ test/SemaOpenCL/atomic-ops.cl | 161 +++++++++++++++++++++++++ 21 files changed, 804 insertions(+), 81 deletions(-) create mode 100644 include/clang/Basic/SyncScope.h create mode 100644 test/CodeGenOpenCL/atomic-ops-libcall.cl create mode 100644 test/CodeGenOpenCL/atomic-ops.cl create mode 100644 test/SemaOpenCL/atomic-ops.cl