summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-12-18 05:05:56 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-12-18 05:05:56 +0000
commiteb48235033313f2a6afccbcd26788954c97a97b3 (patch)
tree8d085a5304caaf0c9e8ccab42e20f4c18452ca35 /clang/lib/CodeGen
parent125592dc8d483efb8ac2d6fb3710fcf356206ee0 (diff)
downloadbcm5719-llvm-eb48235033313f2a6afccbcd26788954c97a97b3.tar.gz
bcm5719-llvm-eb48235033313f2a6afccbcd26788954c97a97b3.zip
[OPENMP 4.5] Parsing/sema analysis for 'depend(source)' clause in 'ordered' directive.
OpenMP 4.5 adds 'depend(source)' clause for 'ordered' directive to support cross-iteration dependence. Patch adds parsing and semantic analysis for this construct. llvm-svn: 255986
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 33dd853bb6d..98a83b661b5 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -2519,6 +2519,7 @@ void CGOpenMPRuntime::emitTaskCall(
case OMPC_DEPEND_inout:
DepKind = DepInOut;
break;
+ case OMPC_DEPEND_source:
case OMPC_DEPEND_unknown:
llvm_unreachable("Unknown task dependence type");
}
OpenPOWER on IntegriCloud