diff options
author | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-11-02 12:18:11 +0000 |
---|---|---|
committer | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-11-02 12:18:11 +0000 |
commit | 7a2a27c4a49de60ceb84f281e78077059a99ce7e (patch) | |
tree | 7291b5d41f2816052f628f4148faf0cf4763c0d5 /clang/lib/CodeGen | |
parent | 5595b1ea28575d2880a8e1f201e337513a4ccd9a (diff) | |
download | bcm5719-llvm-7a2a27c4a49de60ceb84f281e78077059a99ce7e.tar.gz bcm5719-llvm-7a2a27c4a49de60ceb84f281e78077059a99ce7e.zip |
Add support for 'atomic_default_mem_order' clause on 'requires' directive. Also renamed test files relating to 'requires'. Differntial review: https://reviews.llvm.org/D53513
llvm-svn: 345967
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index b3972b6220a..4ad1f3d8d27 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -3970,6 +3970,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_unified_shared_memory: case OMPC_reverse_offload: case OMPC_dynamic_allocators: + case OMPC_atomic_default_mem_order: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } } |