diff options
author | mikaoP <raul.penacoba@bsc.es> | 2024-03-12 12:50:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 07:50:35 -0400 |
commit | 4e3310a81391fbc283d263715a68d8732e73d01d (patch) | |
tree | 5d42ca77b88c0f7b67cffffb1236a5570e4babda /clang/lib/CodeGen/CodeGenFunction.h | |
parent | eb319708dc5371bc560c301742abcf94cc5b3de5 (diff) | |
download | llvm-4e3310a81391fbc283d263715a68d8732e73d01d.zip llvm-4e3310a81391fbc283d263715a68d8732e73d01d.tar.gz llvm-4e3310a81391fbc283d263715a68d8732e73d01d.tar.bz2 |
[clang] Fix OMPT ident flag in combined distribute parallel for pragma (#80987)
Authored-by: Raúl Peñacoba Veigas <rpenacob@bsc.es>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 6c825a3..e8f8aa6 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -3831,6 +3831,8 @@ private: 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; OMPLoopArguments() = default; OMPLoopArguments(Address LB, Address UB, Address ST, Address IL, llvm::Value *Chunk = nullptr, Expr *EUB = nullptr, |