[flang-commits] [flang] [flang][openmp] Support importing module declare target globals (PR #213930)

via flang-commits flang-commits at lists.llvm.org
Tue Aug 4 07:08:16 PDT 2026


agozillon wrote:

I'm not necessarily against this approach as we do need to make sure we resolve the exported/imported declare target symbols, but I am wondering if we import them on "use" correctly at the moment, wouldn't they automatically be processed if they were? I admit I'm not the most familiar with the import/export mechanisms when it comes to modules, I just recollect some cases where we had gaps in the past and I had this on my todo list to check if declare target was one such case, so would be good to tick that box while we're here  :-) Though, I imagine it's likely they are being imported correctly and we need to verify the ultimate symbol to access the "true" current state of the symbol after import as you're doing here

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


More information about the flang-commits mailing list