This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] libomp: taskwait depend implementation fixed
ClosedPublic

Authored by AndreyChurbanov on Jul 23 2021, 1:36 PM.

Details

Summary

Eliminated references from task dependency hash to node allocated on stack, thus eliminated accesses to stale memory. So the node now never freed.

Uncommented assertion which triggered when stale memory accessed. Removed unneeded ref count increment for stack allocated node.

Diff Detail

Event Timeline

AndreyChurbanov requested review of this revision.Jul 23 2021, 1:36 PM
hbae accepted this revision.Aug 2 2021, 2:05 PM

LGTM

This revision is now accepted and ready to land.Aug 2 2021, 2:05 PM