[clang] [CIR][OpenMP] Add support for combined target parallel directives (PR #207019)

Jan Leyonberg via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 2 18:49:12 PDT 2026


jsjodin wrote:

> I'm afraid I'm not much help reviewing the OpenMP aspects of this, but the CIR handling and refactoring look good.

Yes, there's not really any new functionality mostly refactoring. So I didn't bother adding any of the OMP rereivewers, but I can do that. The only difference is that I added support for
`\#pragma omp target parallel`
Compared to 
```
\#pragma omp target {
\#pragma omp parallel {
}
}
```
In the first case clang combines things into a single node, so we have to have a case for it.

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


More information about the cfe-commits mailing list