summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-23 10:27:45 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-23 10:27:45 +0000
commita636c7f9b9a4a34dfa270c215eedbb985e2eb746 (patch)
treefc20e661d317c836d22160ebf9cd4fd012e31799 /clang/lib/CodeGen
parent2bc253847095bfa2676c05df6a5243d08af84ca4 (diff)
downloadbcm5719-llvm-a636c7f9b9a4a34dfa270c215eedbb985e2eb746.tar.gz
bcm5719-llvm-a636c7f9b9a4a34dfa270c215eedbb985e2eb746.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: 256330
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