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

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue Jun 16 04:10:01 PDT 2026


================

----------------
skatrak wrote:

A proper test of `!$omp dispatch` should have `!$omp declare_variant` as well, though I get that we need to start somewhere with the implementation when both are missing. At the very least, this, flang/test/Lower/OpenMP/dispatch.f90, mlir/test/Dialect/OpenMP/dispatch.mlir and mlir/test/Target/LLVMIR/openmp-dispatch.mlir should have a TODO comment over the `foo_dispatch()` definition stating that it should be replaced with `declare_variant` directives once those there's minimal support for them.

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


More information about the flang-commits mailing list