aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authormikaoP <raul.penacoba@bsc.es>2024-03-12 12:50:35 +0100
committerGitHub <noreply@github.com>2024-03-12 07:50:35 -0400
commit4e3310a81391fbc283d263715a68d8732e73d01d (patch)
tree5d42ca77b88c0f7b67cffffb1236a5570e4babda /clang/lib/CodeGen/CodeGenFunction.h
parenteb319708dc5371bc560c301742abcf94cc5b3de5 (diff)
downloadllvm-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.h2
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,