diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-22 12:21:47 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-12-22 12:21:47 +0000 |
| commit | ef4c5584d59df61f23815d29eeb676cafb282a22 (patch) | |
| tree | 6e67c64e4c0e598c2966e6c7b50519a7c1481946 /clang/lib/CodeGen | |
| parent | 13ffa4bf7c0d80ae12d65dbc05c7e93810a2a870 (diff) | |
| download | bcm5719-llvm-ef4c5584d59df61f23815d29eeb676cafb282a22.tar.gz bcm5719-llvm-ef4c5584d59df61f23815d29eeb676cafb282a22.zip | |
[OPENMP 4.5] Parsing/sema for 'depend(sink:vec)' clause in 'ordered' directive.
OpenMP 4.5 adds 'depend(sink:vec)' in 'ordered' directive for doacross loop synchronization. Patch adds parsing and semantic analysis for this clause.
llvm-svn: 256238
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGOpenMPRuntime.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp index f9e5adca126..0ba7e0639ac 100644 --- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp +++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp @@ -2556,6 +2556,7 @@ void CGOpenMPRuntime::emitTaskCall( DepKind = DepInOut; break; case OMPC_DEPEND_source: + case OMPC_DEPEND_sink: case OMPC_DEPEND_unknown: llvm_unreachable("Unknown task dependence type"); } |

