[flang-commits] [flang] [Flang][OpenMP] Skip DSA for canonical loops (PR #150593)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Jul 29 02:43:04 PDT 2025


skatrak wrote:

> Some of these ops do allow data sharing clauses. Is the plan to reintroduce DataSharingProcessor at some point?

I believe the idea would be to eventually use `omp.canonical_loop` in place of `omp.loop_nest`, while adding loop transformation support in the process. In the case of a `do` construct, for example, we'd still split the worksharing semantics (`omp.wsloop`) from the loop itself (`omp.canonical_loop`), which could potentially be impacted by any number of loop transformations. Clauses related to data sharing would still logically belong to the loop wrapper.

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


More information about the flang-commits mailing list