@@ -461,7 +461,7 @@ def LoopOp : OpenMP_Op<"loop", traits = [
461461
462462 let assemblyFormat = clausesAssemblyFormat # [{
463463 custom<PrivateReductionRegion>($region, $private_vars, type($private_vars),
464- $private_syms, $reduction_vars, type($reduction_vars), $reduction_byref,
464+ $private_syms, $reduction_mod, $ reduction_vars, type($reduction_vars), $reduction_byref,
465465 $reduction_syms) attr-dict
466466 }];
467467
@@ -691,7 +691,7 @@ def TaskOp : OpenMP_Op<"task", traits = [
691691
692692 let assemblyFormat = clausesAssemblyFormat # [{
693693 custom<InReductionPrivateRegion>(
694- $region, $in_reduction_mod, $ in_reduction_vars, type($in_reduction_vars),
694+ $region, $in_reduction_vars, type($in_reduction_vars),
695695 $in_reduction_byref, $in_reduction_syms, $private_vars,
696696 type($private_vars), $private_syms) attr-dict
697697 }];
@@ -769,7 +769,7 @@ def TaskloopOp : OpenMP_Op<"taskloop", traits = [
769769
770770 let assemblyFormat = clausesAssemblyFormat # [{
771771 custom<InReductionPrivateReductionRegion>(
772- $region, $in_reduction_mod, $ in_reduction_vars, type($in_reduction_vars),
772+ $region, $in_reduction_vars, type($in_reduction_vars),
773773 $in_reduction_byref, $in_reduction_syms, $private_vars,
774774 type($private_vars), $private_syms, $reduction_mod, $reduction_vars,
775775 type($reduction_vars), $reduction_byref, $reduction_syms) attr-dict
@@ -816,7 +816,7 @@ def TaskgroupOp : OpenMP_Op<"taskgroup", traits = [
816816
817817 let assemblyFormat = clausesAssemblyFormat # [{
818818 custom<TaskReductionRegion>(
819- $region, $task_reduction_mod, $ task_reduction_vars, type($task_reduction_vars),
819+ $region, $task_reduction_vars, type($task_reduction_vars),
820820 $task_reduction_byref, $task_reduction_syms) attr-dict
821821 }];
822822
@@ -1237,7 +1237,7 @@ def TargetOp : OpenMP_Op<"target", traits = [
12371237
12381238 let assemblyFormat = clausesAssemblyFormat # [{
12391239 custom<InReductionMapPrivateRegion>(
1240- $region, $in_reduction_mod, $ in_reduction_vars, type($in_reduction_vars),
1240+ $region, $in_reduction_vars, type($in_reduction_vars),
12411241 $in_reduction_byref, $in_reduction_syms, $map_vars, type($map_vars),
12421242 $private_vars, type($private_vars), $private_syms) attr-dict
12431243 }];
@@ -1653,15 +1653,15 @@ def CancellationPointOp : OpenMP_Op<"cancellation_point", clauses = [
16531653}
16541654
16551655def ScanOp : OpenMP_Op<"scan", [
1656- AttrSizedOperandSegments, RecipeInterface, IsolatedFromAbove
1656+ AttrSizedOperandSegments
16571657 ], clauses = [
1658- OpenMP_InclusiveClause, OpenMP_ExclusiveClause]> {
1658+ OpenMP_InclusiveClause, OpenMP_ExclusiveClause]> {
16591659 let summary = "scan directive";
16601660 let description = [{
1661- The scan directive allows to specify scan reduction. Scan directive
1662- should be enclosed with in a parent directive along with which, a
1663- reduction clause with `InScan ` modifier must be specified. Scan directive
1664- allows to separate code blocks to input phase and scan phase in the region
1661+ The scan directive allows to specify scan reductions. It should be
1662+ enclosed within a parent directive along with which a reduction clause
1663+ with `inscan ` modifier must be specified. The scan directive allows to
1664+ split code blocks into input phase and scan phase in the region
16651665 enclosed by the parent.
16661666 }] # clausesDescription;
16671667
0 commit comments