[flang-commits] [flang] [llvm] [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 Aug 12 08:51:29 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:
I don't have an issue with it running in parallel for each function. If it already used to run like that, then my guess is that it's not a problem here, so it's fine by me either way. The main thing to be wary of in that case is accessing other functions or global operations, and perhaps creating new global symbols or making changes to module attributes.
https://github.com/llvm/llvm-project/pull/97855
More information about the flang-commits
mailing list