[flang-commits] [flang] [Flang][OpenMP] Remove forced close mapping for descriptor in USM (PR #215350)
Sairudra More via flang-commits
flang-commits at lists.llvm.org
Fri Aug 14 07:08:41 PDT 2026
================
@@ -776,11 +776,6 @@ class MapInfoFinalizationPass
? MapFlags::close
: MapFlags::always;
- // For unified_shared_memory, we additionally add `CLOSE` on the descriptor
----------------
Saieiei wrote:
Non-blocking: Could we add a focused `fir-opt` regression with a top-level descriptor under `unified_shared_memory`, checking that USM alone produces `map_clauses(always, to)` without `close`, while an explicit `close` is still preserved? In the existing USM test, the descriptor is a record member whose `close` flag is later stripped, so its checked output is unchanged by this patch.
https://github.com/llvm/llvm-project/pull/215350
More information about the flang-commits
mailing list