[flang-commits] [flang] [Flang] add support for collapsed io calls for implicit do loops (PR #212646)
via flang-commits
flang-commits at lists.llvm.org
Wed Jul 29 02:00:49 PDT 2026
https://github.com/jeanPerier commented:
Thanks for the working on this, +1 for the optimization.
I have one concern about aliasing not being properly handled by ioExprReferencesSymbol as far as I understand.
Have you considered doing this as an IR pass ? I understand why doing it in lowering is easier for the pattern matching part and I am OK with if the ioExprReferencesSymbol concerns can be addressed without too much extra/new logic. I would rather limit the places where we defined Fortran aliasing rules that are tricky.
https://github.com/llvm/llvm-project/pull/212646
More information about the flang-commits
mailing list