[flang-commits] [clang] [flang] [flang][OpenMP] Upstream `do concurrent` loop-nest detection. (PR #127595)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Tue Feb 18 02:01:42 PST 2025


ergawy wrote:

> It is slightly unfortunate to rediscover the loops so early in the flow when we had it in source.

Totally agree, it should be more trivial than this. And it actually was slight worse, see: https://github.com/llvm/llvm-project/pull/114020.

> Have you considered changing the representation of do_concurrent in the IR for multi-range do concurrent loops?

I am all for it. I can add that to the future work part of the document and look into it once we have a more fleshed out pass. The nest detection algorithm is luckily not that complicated and helps us move forward with a working implementation faster. WDYT?


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


More information about the flang-commits mailing list