[Mlir-commits] [mlir] [mlir][flang] Improve handling of fortran module variables. (PR #91604)

Kiran Chandramohan llvmlistbot at llvm.org
Thu May 9 14:42:08 PDT 2024


https://github.com/kiranchandramohan commented:

Thanks @abidh for separating out this patch.

> Take the example of namespace in c++ below. The debug metadata was generated by clang. You can see that scope of the global variable a is set to namespace (and not to compile unit) but it still gets added to globals in DICompileUnit.

Is it possible to have common handling for Namespaces and Modules or will Namespace be another `if` case?

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


More information about the Mlir-commits mailing list