[flang-commits] [flang] [flang][OpenMP] Revert array element reduction lowering (PR #215617)

via flang-commits flang-commits at lists.llvm.org
Wed Aug 12 10:55:22 PDT 2026


================
@@ -1,4 +1,10 @@
-! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s --implicit-check-not=add_reduction_byref_box
+! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s --implicit-check-not=omp.reduction.element
+
+! Array-element reductions currently use the whole-array boxed reduction path.
+! Keep lowering coverage for these constructs so that this limitation does not
----------------
MattPD wrote:

Confirmed: The positive test now compiles, and the unsupported task forms produce the expected TODO diagnostics. Thanks.

https://github.com/llvm/llvm-project/pull/215617


More information about the flang-commits mailing list