Skip to content

Commit 7dadb0f

Browse files
author
Simon Moll
committed
Revert "[omp] drop parallel loop md (even if there is no clause)"
This reverts commit 84956a0.
1 parent b39b050 commit 7dadb0f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/CGStmtOpenMP.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3330,9 +3330,6 @@ bool CodeGenFunction::EmitOMPWorksharingLoop(
33303330
} else if (const auto *C = S.getSingleClause<OMPOrderClause>()) {
33313331
if (C->getKind() == OMPC_ORDER_concurrent)
33323332
CGF.LoopStack.setParallel(/*Enable=*/true);
3333-
} else {
3334-
// TODO: This may not be legal
3335-
CGF.LoopStack.setParallel(/*Enable=*/true);
33363333
}
33373334
},
33383335
[IVSize, IVSigned, Ordered, IL, LB, UB, ST, StaticChunkedOne, Chunk,

0 commit comments

Comments
 (0)