[Mlir-commits] [flang] [mlir] [mlir][OpenMP] Add memory effects of omp.single (PR #237929)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 2 07:46:33 PST 2026


================
@@ -80,6 +80,43 @@ subroutine allocatable_reduction_scalar_private(a, x)
     !$omp end sections
   end subroutine
 
+  ! An assumed-shape array reduction uses a referenced descriptor. It prevents
----------------
JRP-arm wrote:

These two tests using the `sections` op test the revised `isNonDerivedNonPointer` helper functions which now reject fir.ref<fir.boxchar<>> and fir.ref<fir.box<>> types.

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


More information about the Mlir-commits mailing list