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

Sairudra More via flang-commits flang-commits at lists.llvm.org
Tue Apr 7 21:53:29 PDT 2026


Saieiei wrote:

Yes,  the intent here is to preserve the existing discard behavior by keeping `_QQmain` as `device_type = (host)` on the device side, and only avoid the accidental `device_type = (any)` case.

I’ll wait for @skatrak’s review before merging. Thanks for the approval.


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


More information about the flang-commits mailing list