This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP] Fix PR47999: correctly map implicit firstprivates in outer tasks.
ClosedPublic

Authored by ABataev on Nov 17 2020, 6:13 AM.

Details

Summary

If the variable is implicitly firstprivatized in the inner task-based
region, it also must be firstprivatized in outer task-based regions.
Previously firstprivates were captured in tasks but later it was
optimized to reduce the memory usage. But still need to mark such
variables as implicit firstprivate in outer tasks.

Diff Detail

Event Timeline

ABataev created this revision.Nov 17 2020, 6:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2020, 6:13 AM
ABataev requested review of this revision.Nov 17 2020, 6:13 AM
This revision is now accepted and ready to land.Nov 17 2020, 8:20 AM
This revision was landed with ongoing or failed builds.Nov 17 2020, 10:22 AM
This revision was automatically updated to reflect the committed changes.