[flang-commits] [flang] [flang] Lowering changes for assigning dummy_scope to hlfir.declare. (PR #90989)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon May 6 11:37:52 PDT 2024


vzakhari wrote:

> Thanks you Slava! You approach seems safer. Without more context in genDeclareSymbol, you cannot make a difference between internal procedure dummy vs host procedure dummy symbols for instance.
> 
> Good job updating all those tests, did you manage scripting it?

I did not find a reliable way to script this, so I added `dummy_scope ...` to the declare ops, and then used this as an "anchor" to add `!fir.dscope` into the type signature of the operation.

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


More information about the flang-commits mailing list