@@ -3092,7 +3092,7 @@ static mlir::omp::DistributeOp genCompositeDistributeSimd(
3092
3092
/* shouldCollectPreDeterminedSymbols=*/ true ,
3093
3093
/* useDelayedPrivatization=*/ false , symTable);
3094
3094
dsp.processStep1 ();
3095
-
3095
+ dsp. processStep2 ();
3096
3096
// Pass the innermost leaf construct's clauses because that's where COLLAPSE
3097
3097
// is placed by construct decomposition.
3098
3098
mlir::omp::LoopNestOperands loopNestClauseOps;
@@ -3146,12 +3146,14 @@ static mlir::omp::WsloopOp genCompositeDoSimd(
3146
3146
converter, semaCtx, doItem->clauses , eval,
3147
3147
/* shouldCollectPreDeterminedSymbols=*/ false ,
3148
3148
/* useDelayedPrivatization=*/ true , symTable);
3149
- wsloopItemDSP.processStep1 (&wsloopClauseOps);
3149
+ wsloopItemDSP.processStep1 ();
3150
+ wsloopItemDSP.processStep2 (&wsloopClauseOps);
3150
3151
3151
3152
DataSharingProcessor simdItemDSP (converter, semaCtx, simdItem->clauses , eval,
3152
3153
/* shouldCollectPreDeterminedSymbols=*/ true ,
3153
3154
/* useDelayedPrivatization=*/ true , symTable);
3154
- simdItemDSP.processStep1 (&simdClauseOps);
3155
+ simdItemDSP.processStep1 ();
3156
+ simdItemDSP.processStep2 (&simdClauseOps);
3155
3157
3156
3158
// Pass the innermost leaf construct's clauses because that's where COLLAPSE
3157
3159
// is placed by construct decomposition.
0 commit comments