[clang] [clang] Fix OMPT ident flag in combined distribute parallel for pragma (PR #80987)

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 6 08:46:03 PST 2024


================
@@ -3812,6 +3812,8 @@ class CodeGenFunction : public CodeGenTypeCache {
     Expr *NextLB = nullptr;
     /// Update of UB after a whole chunk has been executed
     Expr *NextUB = nullptr;
+    /// Distinguish between the for distribute and sections
+    OpenMPDirectiveKind DKind = llvm::omp::OMPD_unknown;
----------------
mikaoP wrote:

https://github.com/llvm/llvm-project/pull/80987/files#diff-85a81ef894934d95e1d7917fd1d63a60f9ba05b978f5f29815596636dc134be5R3084 here for example

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


More information about the cfe-commits mailing list