[clang] [llvm] [Clang][OpenMP] Support for dispatch construct (Sema & Codegen) support (PR #117904)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 11:49:12 PST 2025
SunilKuravinakop wrote:
>#if dispatch transformed to
>
>#pragma omp taskwait depend(out:x)
>#pragma omp dispatch nocontext(c2)
>foo(); --> with traits call to foo_variant_dispatch(i,j)
>
>you should have 2 captured regions - one for taskwait and one for dispatch. It does not mean, >you need to transform the AST node, there should be single AST node with 2 captured regions >(one caotures another), just like it is done for combined constructs.
I do not have this code anymore in SemaOpenMP.cpp. I am having code for adding AnnotateAttr.
https://github.com/llvm/llvm-project/pull/117904
More information about the cfe-commits
mailing list