[clang] [flang] [Flang][OpenMP] Flag for switching off implicit allocatable member mapping via default declare mapper (PR #228748)
Akash Banerjee via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 28 07:15:04 PDT 2026
================
@@ -317,6 +318,12 @@ def fdo_concurrent_to_openmp_EQ : Joined<["-"], "fdo-concurrent-to-openmp=">,
HelpText<"Try to map `do concurrent` loops to OpenMP [none|host|device]">,
Values<"none, host, device">;
+def fimplicit_default_mapper_allocatable_members : Flag<["-"], "fimplicit-default-mapper-allocatable-members">,
+ Group<f_Group>, HelpText<"Enable implicit allocatable member maps in compiler-generated OpenMP default mappers">;
+def fno_implicit_default_mapper_allocatable_members : Flag<["-"], "fno-implicit-default-mapper-allocatable-members">,
----------------
TIFitis wrote:
With `-fdo-concurrent-to-openmp=device`, the disabling flag still generates an implicit default mappers. I think we need to propagate this flag to DO CONCURRENT conversion so the opt-out flag works there too.
https://github.com/llvm/llvm-project/pull/228748
More information about the cfe-commits
mailing list