aboutsummaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2023-07-24 16:01:03 -0500
committerJonathan Peyton <jonathan.l.peyton@intel.com>2023-07-24 16:01:03 -0500
commitfda297729d00a0a9caef3d43531acdd58c282059 (patch)
tree5f3d1530bb9f3597742919b6081e74a8c2ab00bb /openmp
parent1e3bbf76a1b7be003f41d4a58f672d311b8577d7 (diff)
downloadllvm-fda297729d00a0a9caef3d43531acdd58c282059.zip
llvm-fda297729d00a0a9caef3d43531acdd58c282059.tar.gz
llvm-fda297729d00a0a9caef3d43531acdd58c282059.tar.bz2
[OpenMP] Restore comment accidently deleted in D154650
Diffstat (limited to 'openmp')
-rw-r--r--openmp/runtime/src/kmp_runtime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/runtime/src/kmp_runtime.cpp b/openmp/runtime/src/kmp_runtime.cpp
index 38d5470..695bb5e 100644
--- a/openmp/runtime/src/kmp_runtime.cpp
+++ b/openmp/runtime/src/kmp_runtime.cpp
@@ -5407,6 +5407,7 @@ __kmp_allocate_team(kmp_root_t *root, int new_nproc, int max_nproc,
}
#if (KMP_OS_LINUX || KMP_OS_FREEBSD) && KMP_AFFINITY_SUPPORTED
+ /* Restore initial primary thread's affinity mask */
new_temp_affinity.restore();
#endif
#if KMP_NESTED_HOT_TEAMS