[flang-commits] [flang] [flang][OpenACC] support collapse on unstructured acc.loop (PR #196174)

via flang-commits flang-commits at lists.llvm.org
Thu May 7 05:46:51 PDT 2026


https://github.com/jeanPerier approved this pull request.

Thanks for fixing the crash, LGTM.
We'll need to improve the PFT to try to not preserve the structure of the outer loop at some point, maybe using scf.execute_region, so that at least the outer loop can be parallelized, but that is a generic improvement unrelated to collapse, and your fix is the right one. 

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


More information about the flang-commits mailing list