[flang-commits] [flang] [flang][OpenACC] Skip non-loop evaluations when descending a collapsed/tiled DO nest (PR #223579)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Tue Sep 15 11:22:50 PDT 2026


https://github.com/razvanlupusoru commented:

Hi Ron - nice work!

A couple of questions:
1. What should happen to the intervening `!DIR$ IVDEP` that we skip? If it is ignored, should we warn?
2. Does this also work for `!$cuf kernel do(2)` with a directive between the DOs?
3. On the unstructured path, how are intervening directives handled? Is that consistent with the structured path?
4. Should `visitLoopControl` and the new helper share one walk so they cannot drift?


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


More information about the flang-commits mailing list