]> granicus.if.org Git - clang/commit
Added atomic_fetch_min, max, umin, umax intrinsics to clang.
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Sun, 13 May 2018 07:45:58 +0000 (07:45 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Sun, 13 May 2018 07:45:58 +0000 (07:45 +0000)
commit1064f0a9daefafcc3bb7b4d30f3a45b3b8770d99
treee842543bd2a1e475ac917ae8a325c162c91fa0ed
parent04289bb9d491177df8b2316cfb5a53895a00c745
Added atomic_fetch_min, max, umin, umax intrinsics to clang.

These intrinsics work exactly as all other atomic_fetch_* intrinsics and allow to create *atomicrmw* with ordering.
Updated the clang-extensions document.

Differential Revision: https://reviews.llvm.org/D46386

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332193 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LanguageExtensions.rst
include/clang/Basic/Builtins.def
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/CodeGen/CGAtomic.cpp
lib/Sema/SemaChecking.cpp
test/CodeGen/Atomics.c
test/Sema/atomic-ops.c