https://github.com/jeanPerier approved this pull request. Thank you so much for this extensive update! I tested with the changes I was working on in flang and this fixes the issue I was seeing with Fortran code. https://github.com/llvm/llvm-project/pull/72874