This is following the ordered depend clause.
1> Using OMPClause instead OMPDependClause in emitDoacrossOrdered to hand both
OMPDependClause and OMPDoacrossClause.
2> Add new utility function emitRestoreIP which used for both clauses.
Paths
| Differential D154180
[OPENMP52] Codegen support for doacross clause. ClosedPublic Authored by jyu2 on Jun 29 2023, 9:01 PM.
Details Summary This is following the ordered depend clause. OMPDependClause and OMPDoacrossClause. 2> Add new utility function emitRestoreIP which used for both clauses.
Diff Detail
Event Timeline
jyu2 marked an inline comment as done. Comment ActionsThanks Alexey's review. This address Alexey's comments.
Comment Actions Thanks Alexey!!!
jyu2 added inline comments.
Comment Actions LG with a nit
This revision is now accepted and ready to land.Jul 3 2023, 12:11 PM This revision was landed with ongoing or failed builds.Jul 3 2023, 3:35 PM Closed by commit rG35041a435def: [OPENMP52] Codegen support for doacross clause. (authored by jyu2). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 536909 clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/ordered_doacross_codegen.c
|
Why these declarations are moved?