summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmtOpenMP.cpp
diff options
context:
space:
mode:
authorCarlo Bertolli <cbertol@us.ibm.com>2016-06-24 19:20:02 +0000
committerCarlo Bertolli <cbertol@us.ibm.com>2016-06-24 19:20:02 +0000
commitb8503d5399d0693e49e731d96ca06ce22e425c2b (patch)
tree06ddc1cf4b280859a97cb8139c7737de7941eb67 /clang/lib/CodeGen/CGStmtOpenMP.cpp
parent3830479f4155cd30473453e8bdc5c00c1e013482 (diff)
downloadbcm5719-llvm-b8503d5399d0693e49e731d96ca06ce22e425c2b.tar.gz
bcm5719-llvm-b8503d5399d0693e49e731d96ca06ce22e425c2b.zip
Revert r273705
[OpenMP] Initial implementation of parse and sema for composite pragma 'distribute parallel for' llvm-svn: 273709
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmtOpenMP.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp
index ad4e49d986c..061a07791fa 100644
--- a/clang/lib/CodeGen/CGStmtOpenMP.cpp
+++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp
@@ -1865,18 +1865,6 @@ void CodeGenFunction::EmitOMPDistributeOuterLoop(
S, LoopScope, /* Ordered = */ false, LB, UB, ST, IL, Chunk);
}
-void CodeGenFunction::EmitOMPDistributeParallelForDirective(
- const OMPDistributeParallelForDirective &S) {
- OMPLexicalScope Scope(*this, S, /*AsInlined=*/true);
- CGM.getOpenMPRuntime().emitInlinedDirective(
- *this, OMPD_distribute_parallel_for,
- [&S](CodeGenFunction &CGF, PrePostActionTy &) {
- OMPLoopScope PreInitScope(CGF, S);
- CGF.EmitStmt(
- cast<CapturedStmt>(S.getAssociatedStmt())->getCapturedStmt());
- });
-}
-
/// \brief Emit a helper variable and return corresponding lvalue.
static LValue EmitOMPHelperVar(CodeGenFunction &CGF,
const DeclRefExpr *Helper) {
OpenPOWER on IntegriCloud