diff options
| author | Kelvin Li <kkwli0@gmail.com> | 2016-07-20 22:57:10 +0000 |
|---|---|---|
| committer | Kelvin Li <kkwli0@gmail.com> | 2016-07-20 22:57:10 +0000 |
| commit | 986330c190fdecfe608b20449ba27491080afeba (patch) | |
| tree | 79b6dd16ae472cc3f1d654c776cb707fd0277b82 /clang/lib/CodeGen/CGStmt.cpp | |
| parent | fb64ebe313f0fa6e47db8236f40a27c73e08e396 (diff) | |
| download | bcm5719-llvm-986330c190fdecfe608b20449ba27491080afeba.tar.gz bcm5719-llvm-986330c190fdecfe608b20449ba27491080afeba.zip | |
[OpenMP] Sema and parsing for 'target simd' pragma
This patch is to implement sema and parsing for 'target simd' pragma.
Differential Revision: https://reviews.llvm.org/D22479
llvm-svn: 276203
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index 13c02f21813..a7fa60f73ad 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -295,6 +295,9 @@ void CodeGenFunction::EmitStmt(const Stmt *S) { EmitOMPTargetParallelForSimdDirective( cast<OMPTargetParallelForSimdDirective>(*S)); break; + case Stmt::OMPTargetSimdDirectiveClass: + EmitOMPTargetSimdDirective(cast<OMPTargetSimdDirective>(*S)); + break; } } |

