diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-07 10:51:44 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-07 10:51:44 +0000 |
| commit | b825de17b73f92c05ab174f02a221865702716f9 (patch) | |
| tree | 2da8053d7fcc08cca0bd03f81bd5791c49436272 /clang/lib/CodeGen | |
| parent | 12301b08144683eddde15e918a839411a26e38c6 (diff) | |
| download | bcm5719-llvm-b825de17b73f92c05ab174f02a221865702716f9.tar.gz bcm5719-llvm-b825de17b73f92c05ab174f02a221865702716f9.zip | |
[OPENMP 4.5] parsing/sema support for 'nogroup' clause.
OpenMP 4.5 adds 'taskloop' and 'taskloop simd' directives. These directives have new 'nogroup' clause. Patch adds basic parsing/sema support for this clause.
llvm-svn: 254899
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 d86cdc7110e..c80e60278b4 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -2481,6 +2481,7 @@ static void EmitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind, case OMPC_num_teams: case OMPC_thread_limit: case OMPC_priority: + case OMPC_nogroup: llvm_unreachable("Clause is not allowed in 'omp atomic'."); } } |

