aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-02-11 15:15:21 -0500
committerAlexey Bataev <a.bataev@hotmail.com>2020-02-11 15:42:34 -0500
commit2d4f80f78aa5c25f19c396bf85d022d009706936 (patch)
tree81555ae5a81e30537a81a3b5aa8042c63b3004e5 /clang/lib/Frontend/CompilerInvocation.cpp
parent257e412762e36de278ffe1488ba3c6f609111632 (diff)
downloadllvm-2d4f80f78aa5c25f19c396bf85d022d009706936.zip
llvm-2d4f80f78aa5c25f19c396bf85d022d009706936.tar.gz
llvm-2d4f80f78aa5c25f19c396bf85d022d009706936.tar.bz2
[OPENMP50]Full handling of atomic_default_mem_order in requires
directive. According to OpenMP 5.0, The atomic_default_mem_order clause specifies the default memory ordering behavior for atomic constructs that must be provided by an implementation. If the default memory ordering is specified as seq_cst, all atomic constructs on which memory-order-clause is not specified behave as if the seq_cst clause appears. If the default memory ordering is specified as relaxed, all atomic constructs on which memory-order-clause is not specified behave as if the relaxed clause appears. If the default memory ordering is specified as acq_rel, atomic constructs on which memory-order-clause is not specified behave as if the release clause appears if the atomic write or atomic update operation is specified, as if the acquire clause appears if the atomic read operation is specified, and as if the acq_rel clause appears if the atomic captured update operation is specified.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions