[flang-commits] [flang] [Flang][OpenMP] Update declare mapper lookup via use-module (PR #163860)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Oct 24 02:18:27 PDT 2025


kiranchandramohan wrote:

> @kiranchandramohan Sorry for the earlier misunderstanding — I’m not very familiar with the parsing/semantic side of things.
> 
> It was working without exporting to the .mod file because the test originally had both the module and the program in the same file. Once separated, it started failing.
> 
> I’ve now updated the PR to export the declare mapper to the .mod file as you suggested, and the lookup works correctly when compiling across different files. I’ve also updated the test accordingly.
> 
> As far as I’m aware, FIR/OMP does not emit dummy mappers at any stage.

Thanks for the updates. I have a question and two requests for tests.

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


More information about the flang-commits mailing list