Skip to content

Commit b5c9b4b

Browse files
committed
[flang] Fix merge: mv private clause ops to step 2
1 parent b4e6a1a commit b5c9b4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3293,7 +3293,8 @@ static mlir::omp::TaskloopOp genStandaloneTaskloop(
32933293
DataSharingProcessor dsp(converter, semaCtx, item->clauses, eval,
32943294
/*shouldCollectPreDeterminedSymbols=*/true,
32953295
enableDelayedPrivatization, symTable);
3296-
dsp.processStep1(&taskloopClauseOps);
3296+
dsp.processStep1();
3297+
dsp.processStep2(&taskloopClauseOps);
32973298

32983299
mlir::omp::LoopNestOperands loopNestClauseOps;
32993300
llvm::SmallVector<const semantics::Symbol *> iv;

0 commit comments

Comments
 (0)