[flang-commits] [flang] [flang][OpenMP] Lower REDUCTION clause for SECTIONS (PR #97858)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Jul 8 04:40:38 PDT 2024
================
@@ -2049,10 +2085,11 @@ static void genOMPDispatch(lower::AbstractConverter &converter,
genParallelOp(converter, symTable, semaCtx, eval, loc, queue, item);
break;
case llvm::omp::Directive::OMPD_section:
- genSectionOp(converter, symTable, semaCtx, eval, loc, queue, item);
+ // Lowered in the enclosing genSectionsOp.
----------------
skatrak wrote:
Maybe add an `llvm_unreachable()` here and in the 'sections' case?
https://github.com/llvm/llvm-project/pull/97858
More information about the flang-commits
mailing list