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 | 4a39add05e01347f7e0683835c27a56bf1c29275 (patch) | |
tree | 8b74095e990246aed86a04d4c5af903c46c82664 /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | 4d3626ed3192400bea0f8de5762715822907eae4 (diff) | |
download | bcm5719-llvm-4a39add05e01347f7e0683835c27a56bf1c29275.tar.gz bcm5719-llvm-4a39add05e01347f7e0683835c27a56bf1c29275.zip |
[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
llvm-svn: 274530
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriterStmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp index 2170936b548..0a5d4d068d1 100644 --- a/clang/lib/Serialization/ASTWriterStmt.cpp +++ b/clang/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 //===----------------------------------------------------------------------===// |