[flang-commits] [flang] [Flang][OpenMP] Remove close map type member removal code from MapInfoFinalization (PR #219438)

via flang-commits flang-commits at lists.llvm.org
Fri Sep 11 01:35:39 PDT 2026


agozillon wrote:

> The `close` map-type modifier is a hint as per the OpenMP spec. So, we could ignore it. I guess it would be improved UX, if we then printed a warning about the map-type modifier being ignored.

That's fine can keep the status quo and I'll just move the removal to the frontend rather than this opt pass! Mainly as it's no longer a strict requirement to have it in the opt pass and this pass is already juggling a lot if interdependencies... I'll see what I can do about a warning, not sure if it's fine to have those in the lowering or if I'll have to think about a method of doing it in semantics.

Thank you for the input Michael!

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


More information about the flang-commits mailing list