The th.th_task_state for the master thread at the start of a nested parallel should not be zeroed in kmp_allocate_team() because it is later put in the stack of states in kmp_fork_call() for further re-use after exiting the nested region. It is zeroed after being put in the stack.
Details
Details
- Reviewers
tlwilmar AndreyChurbanov hfinkel - Commits
- rG0dd75fdfa964: Removed zeroing th.th_task_state for master thread at start of nested parallel.
rOMP250847: Removed zeroing th.th_task_state for master thread at start of nested parallel.
rL250847: Removed zeroing th.th_task_state for master thread at start of nested parallel.
Diff Detail
Diff Detail
- Repository
- rL LLVM