[flang-commits] [flang] [mlir] [flang][OpenMP] Lower task reduction modifier (PR #205124)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Tue Jun 23 08:25:16 PDT 2026
================
@@ -2057,6 +2092,9 @@ convertOmpSections(Operation &opInst, llvm::IRBuilderBase &builder,
isByRef)))
return failure();
+ bool isTaskReductionMod =
+ sectionsOp.getReductionMod() == omp::ReductionModifier::task;
----------------
tblah wrote:
Check that the number of reduction args is greater than 0 as you did for parallel
https://github.com/llvm/llvm-project/pull/205124
More information about the flang-commits
mailing list