[flang-commits] [flang] [flang][OpenMP] Avoid marking named main programs as declare target (PR #190250)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Wed Apr 8 02:48:15 PDT 2026


================

----------------
skatrak wrote:

Please add checks that `sub_a` is marked as `device_type = (nohost)` in both host and device modules. If it isn't, perhaps the problem is not just that we're allowing `declare target` to be attached to named programs, but also that we're picking up the wrong function-like unit to start with.


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


More information about the flang-commits mailing list