diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2020-02-11 09:35:52 -0500 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2020-02-11 10:10:41 -0500 |
commit | 9a3740c33919287fd9aa4e0c6f761619e84c62a7 (patch) | |
tree | 43f5645e2fbdabc38b9c64ef9a69142449f2489e /llvm/lib/Support/Process.cpp | |
parent | b04885a55c2aa4666a420a5638db75bee9a44fa0 (diff) | |
download | llvm-9a3740c33919287fd9aa4e0c6f761619e84c62a7.zip llvm-9a3740c33919287fd9aa4e0c6f761619e84c62a7.tar.gz llvm-9a3740c33919287fd9aa4e0c6f761619e84c62a7.tar.bz2 |
[OPENMP50]Add restrictions for memory order clauses in atomic directive.
Added restrictions for atomic directive.
1. If atomic-clause is read then memory-order-clause must not be acq_rel or release.
2. If atomic-clause is write then memory-order-clause must not be
acq_rel or acquire.
3. If atomic-clause is update or not present then memory-order-clause
must not be acq_rel or acquire.
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions