https://github.com/jeanPerier approved this pull request. Thanks @vzakhari, the flang dialect changes looks good and this makes sense to me in general. Please wait for the approval the those who had comments. https://github.com/llvm/llvm-project/pull/125620