summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-10-18 16:47:35 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-10-18 16:47:35 +0000
commitb8552abfe7ce0c4cd37d136bbcf8cb319a28f260 (patch)
tree9d8564667394f0f86888e46034f37dd822d9e5f8 /clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
parent7e1637451d20d40553165f806094ada30cb0a708 (diff)
downloadbcm5719-llvm-b8552abfe7ce0c4cd37d136bbcf8cb319a28f260.tar.gz
bcm5719-llvm-b8552abfe7ce0c4cd37d136bbcf8cb319a28f260.zip
[OPENMP50]Add support for master taskloop simd.
Added trsing/semantics/codegen for combined construct master taskloop simd. llvm-svn: 375255
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
index 291052109e8..708260429f6 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
@@ -804,6 +804,7 @@ static bool hasNestedSPMDDirective(ASTContext &Ctx,
case OMPD_taskloop:
case OMPD_taskloop_simd:
case OMPD_master_taskloop:
+ case OMPD_master_taskloop_simd:
case OMPD_parallel_master_taskloop:
case OMPD_requires:
case OMPD_unknown:
@@ -877,6 +878,7 @@ static bool supportsSPMDExecutionMode(ASTContext &Ctx,
case OMPD_taskloop:
case OMPD_taskloop_simd:
case OMPD_master_taskloop:
+ case OMPD_master_taskloop_simd:
case OMPD_parallel_master_taskloop:
case OMPD_requires:
case OMPD_unknown:
@@ -1043,6 +1045,7 @@ static bool hasNestedLightweightDirective(ASTContext &Ctx,
case OMPD_taskloop:
case OMPD_taskloop_simd:
case OMPD_master_taskloop:
+ case OMPD_master_taskloop_simd:
case OMPD_parallel_master_taskloop:
case OMPD_requires:
case OMPD_unknown:
@@ -1122,6 +1125,7 @@ static bool supportsLightweightRuntime(ASTContext &Ctx,
case OMPD_taskloop:
case OMPD_taskloop_simd:
case OMPD_master_taskloop:
+ case OMPD_master_taskloop_simd:
case OMPD_parallel_master_taskloop:
case OMPD_requires:
case OMPD_unknown:
OpenPOWER on IntegriCloud