[flang-commits] [flang] [Flang][OpenMP] Align map clause generation and fix issue with non-shared allocations for assumed shape/size descriptor types (PR #97855)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Mon Jul 29 07:34:25 PDT 2024


================
@@ -341,11 +341,11 @@ def LoopVersioning : Pass<"loop-versioning", "mlir::func::FuncOp"> {
 }
 
 def OMPMapInfoFinalizationPass
-    : Pass<"omp-map-info-finalization"> {
+    : Pass<"omp-map-info-finalization", "mlir::func::FuncOp"> {
----------------
skatrak wrote:

This change makes it possible for the pass manager to run this pass in parallel on all `func.func` present in the module, rather than sequentially as it was done before. Is it guaranteed there won't be race conditions?

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


More information about the flang-commits mailing list