[flang-commits] [flang] [flang] improve DITypeAttr caching with recursive derived types (PR #146543)
via flang-commits
flang-commits at lists.llvm.org
Thu Jul 3 04:52:36 PDT 2025
jeanPerier wrote:
Thanks for the review!
> It will be helpful for anybody working on in the future if you can elaborate a bit more how it works. May be take the comments in debug-cyclic-derived-type-caching-complex.f90, adds in some more details and make that part of the commit message.
I added an illustration in the description.
> Also when I looked at this part last year, I had a quite smallish patch that removed the limitation from the mlir about recursive types. I can't remember why I did not pursue it further but I think this is one thing we need to explore a bit. It may be much simpler to remove that limitation in mlir than to workaround it in flang.
That would be great! I will merge this one, but if you can get your hands on this patch, I agree that changing the handling in MLIR would be best if that is possible. Then we can go for a dumb map.
https://github.com/llvm/llvm-project/pull/146543
More information about the flang-commits
mailing list