This is an archive of the discontinued LLVM Phabricator instance.

Fix an issue with th_task_state_memo_stack and proxy/helper tasks
ClosedPublic

Authored by tlwilmar on Mar 9 2023, 3:59 PM.

Details

Summary

When proxy or helper tasks were used in inactive parallel regions, no memo of the th_task_state was stored in the stack, so th_task_state became invalid. This change inserts an item in the memo stack to track these th_task_states.

Patch by Alex Duran.

Diff Detail

Event Timeline

tlwilmar created this revision.Mar 9 2023, 3:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 3:59 PM
tlwilmar requested review of this revision.Mar 9 2023, 3:59 PM
This revision is now accepted and ready to land.Apr 20 2023, 12:40 PM