diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-13 19:45:06 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-12-13 19:45:06 +0000 |
commit | e3e5f4e1c6539a778dba118d93c9976d14c4a261 (patch) | |
tree | 40929ae9095a765274935a4145393109ae9c0d0a /include | |
parent | 3d430af98cedf0182327d2384badadd3c858ea5a (diff) |
[OPENMP] Initial codegen for `target teams distribute simd` directive.
Host + generic device codegen for `target teams distribute simd`
directive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/StmtOpenMP.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/AST/StmtOpenMP.h b/include/clang/AST/StmtOpenMP.h index fc03c424ed..66fb037fc3 100644 --- a/include/clang/AST/StmtOpenMP.h +++ b/include/clang/AST/StmtOpenMP.h @@ -963,7 +963,9 @@ public: T->getStmtClass() == OMPTargetTeamsDistributeParallelForDirectiveClass || T->getStmtClass() == - OMPTargetTeamsDistributeParallelForSimdDirectiveClass; + OMPTargetTeamsDistributeParallelForSimdDirectiveClass || + T->getStmtClass() == OMPTargetTeamsDistributeDirectiveClass || + T->getStmtClass() == OMPTargetTeamsDistributeSimdDirectiveClass; } }; |