[flang-commits] [flang] [llvm] [flang-rt] Add PDT LEN parameter support: Concrete type cache (PR #181008)

via flang-commits flang-commits at lists.llvm.org
Tue Feb 24 06:55:42 PST 2026


tmjbios wrote:

I was working on this based on the idea that there is no guarantee that all LEN dependent members would be Automatic.

If that is an incorrect assumption, and LEN-dependent members _are_ guaranteed to be Automatic, then yes I agree - I don't see the cache being required. Not that this proposed type cache version won't work (it will), but it would just be pure overhead for no added benefit.

I can start with a "cacheless" version instead, and strip the cache management out from this PR fairly quickly I believe. Let me know your thoughts, and thanks for the feedback.

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


More information about the flang-commits mailing list