summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-22 12:21:47 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-22 12:21:47 +0000
commitef4c5584d59df61f23815d29eeb676cafb282a22 (patch)
tree6e67c64e4c0e598c2966e6c7b50519a7c1481946 /clang/lib/CodeGen
parent13ffa4bf7c0d80ae12d65dbc05c7e93810a2a870 (diff)
downloadbcm5719-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.cpp1
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");
}
OpenPOWER on IntegriCloud