This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Fix PR37671: Privatize local(private) variables in untied tasks.
ClosedPublic

Authored by ABataev on Jul 23 2020, 12:43 PM.

Details

Summary

In untied tasks, need to allocate the space for local variales, declared
in task region, when the memory for task data is allocated. THe function
can be interrupted and we can exit from the function in untied task
switch. Need to keep the state of the local variables in this case.
Also, the compiler should not call cleanup when exiting in untied task
switch until the real exit out of the declaration scope is met during
execution.

Diff Detail

Event Timeline

ABataev created this revision.Jul 23 2020, 12:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 23 2020, 12:43 PM
This revision is now accepted and ready to land.Aug 11 2020, 9:35 PM
This revision was landed with ongoing or failed builds.Aug 12 2020, 6:39 AM
This revision was automatically updated to reflect the committed changes.