[Mlir-commits] [flang] [mlir] [mlir][flang][openmp] Rework parallel reduction operations (PR #79308)
David Truby
llvmlistbot at llvm.org
Mon Jan 29 04:31:47 PST 2024
================
@@ -3483,10 +3514,8 @@ genOMP(Fortran::lower::AbstractConverter &converter,
break;
}
- if (singleDirective) {
- genOpenMPReduction(converter, beginClauseList);
+ if (singleDirective)
----------------
DavidTruby wrote:
If genOpenMPReduction is called her it replaces the normal operations (e.g. `arith.addi`) with an `omp.reduction` operation that is no longer used/needed with the new reduction lowering. At some point when all operations have moved to the new reduction style, those operations should be removed entirely from the OpenMP dialect.
https://github.com/llvm/llvm-project/pull/79308
More information about the Mlir-commits
mailing list