[flang-commits] [flang] [mlir] [flang][OpenMP] Support for "!$omp dispatch". (PR #203320)

via flang-commits flang-commits at lists.llvm.org
Mon Jun 29 03:59:34 PDT 2026


SunilKuravinakop wrote:

> > Can someone please review my code?
> 
> Hi @SunilKuravinakop
> 
> Thanks for working on this, and sorry for the delay. I'd like to review this properly, but the DISPATCH construct overlaps with the DECLARE VARIANT work I'm currently upstreaming (variant selection, the adjust_args/append_args handling, and call-site resolution), so I want to make sure I understand how the two interact before I give you feedback. I'd rather avoid suggesting something here that conflicts with what's landing on the declare-variant side, or vice versa. Could I ask for a little patience while I work through that? I expect to have a clearer picture within the next week, and I'll come back with a review then.

I have stated in the purpose and I reiterate it again below:
```
1. Basic support for !$omp dispatch. This PR supports only dispatch.
2. The idea is to handle dispatch construct in steps (clauses associated with it will be implemented in subsequent PR-s).
3. declare variant which goes along with dispatch is being handled in https://github.com/llvm/llvm-project/pull/204387.
```
The third point is the interaction between what I want to achieve and your work.

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


More information about the flang-commits mailing list