No need to emit private copyfor firstprivate constants in target
regions, we can use the original copy instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D105647
[OPENMP]Do no privatize const firstprivates in target regions. ClosedPublic Authored by ABataev on Jul 8 2021, 11:16 AM.
Details Summary No need to emit private copyfor firstprivate constants in target
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 8 2021, 11:37 AM This revision was landed with ongoing or failed builds.Jul 8 2021, 12:15 PM Closed by commit rGf57d396dcab2: [OPENMP]Do no privatize const firstprivates in target regions. (authored by ABataev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 357317 clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp
clang/test/OpenMP/target_firstprivate_codegen.cpp
|