diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-29 15:14:16 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-11-29 15:14:16 +0000 |
| commit | 95c6dd49a01decd26dcfbb4aaad086538a86a565 (patch) | |
| tree | a1b2f069fa5a1512b7283d059c1264481a56786a /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
| parent | 02082c39f36fc96fdfccdde18a9f0ea44726e5d2 (diff) | |
| download | bcm5719-llvm-95c6dd49a01decd26dcfbb4aaad086538a86a565.tar.gz bcm5719-llvm-95c6dd49a01decd26dcfbb4aaad086538a86a565.zip | |
[OPENMP] General improvement of handling of `teams distribute`
directive, NFC.
Some general improvements in support of `teams distribute` directive.
llvm-svn: 319320
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGStmtOpenMP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index 2035a59a82a..bb987d87548 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -3893,7 +3893,7 @@ void CodeGenFunction::EmitOMPTeamsDistributeDirective( CodeGenDistribute); CGF.EmitOMPReductionClauseFinal(S, /*ReductionKind=*/OMPD_teams); }; - emitCommonOMPTeamsDirective(*this, S, OMPD_teams, CodeGen); + emitCommonOMPTeamsDirective(*this, S, OMPD_distribute, CodeGen); emitPostUpdateForReductionClause(*this, S, [](CodeGenFunction &) { return nullptr; }); } |

