aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-21 17:20:01 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-21 17:20:01 +0000
commit057d77d8c16598ae696610f8ace9d66602424349 (patch)
tree2805b0884cd1a82e7784896f9126493d0653f957 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parentfa160c7386561dd1f0d2868792aa981ed13774ec (diff)
downloadllvm-057d77d8c16598ae696610f8ace9d66602424349.zip
llvm-057d77d8c16598ae696610f8ace9d66602424349.tar.gz
llvm-057d77d8c16598ae696610f8ace9d66602424349.tar.bz2
Fix task team synchronization
The fix simply syncs up the new threads to have the same task_state and task_team as the old threads. The master thread is skipped, because it shouldn't at this point have the team's task_team value yet -- it should still have parent_team's task_team. It gets pointed at the new team's task_team later, after __kmp_allocate_team returns, and the master has stored a memo of it's old task_state. llvm-svn: 237916
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions