diff options
author | Kelvin Li <kkwli0@gmail.com> | 2016-07-05 05:00:15 +0000 |
---|---|---|
committer | Kelvin Li <kkwli0@gmail.com> | 2016-07-05 05:00:15 +0000 |
commit | 5889a98a460b6e96bc5db3f32450d1d14d654573 (patch) | |
tree | 8383a8b494210eb24f89250e211d7ca02ab78f08 /lib/Serialization/ASTWriterStmt.cpp | |
parent | bf0295e9294348694b7b203149fb108be098c56c (diff) |
[OpenMP] Sema and parse for 'distribute parallel for simd'
Summary: This patch is an implementation of sema and parsing for the OpenMP composite pragma 'distribute parallel for simd'.
Differential Revision: http://reviews.llvm.org/D21977
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | lib/Serialization/ASTWriterStmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Serialization/ASTWriterStmt.cpp b/lib/Serialization/ASTWriterStmt.cpp index 2170936b54..0a5d4d068d 100644 --- a/lib/Serialization/ASTWriterStmt.cpp +++ b/lib/Serialization/ASTWriterStmt.cpp @@ -2436,6 +2436,12 @@ void ASTStmtWriter::VisitOMPDistributeParallelForDirective( Code = serialization::STMT_OMP_DISTRIBUTE_PARALLEL_FOR_DIRECTIVE; } +void ASTStmtWriter::VisitOMPDistributeParallelForSimdDirective( + OMPDistributeParallelForSimdDirective *D) { + VisitOMPLoopDirective(D); + Code = serialization::STMT_OMP_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE; +} + //===----------------------------------------------------------------------===// // ASTWriter Implementation //===----------------------------------------------------------------------===// |