summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/z_Windows_NT_util.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2019-07-12 21:45:36 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2019-07-12 21:45:36 +0000
commite4b4f994d2f6a090694276b40d433dc1a58beb24 (patch)
tree9b652f3db2787e6c8f18aa74d87eedd890ed0a64 /openmp/runtime/src/z_Windows_NT_util.cpp
parent603580216f0aa387b0d4c01b8d2f05873e6a98e2 (diff)
downloadbcm5719-llvm-e4b4f994d2f6a090694276b40d433dc1a58beb24.tar.gz
bcm5719-llvm-e4b4f994d2f6a090694276b40d433dc1a58beb24.zip
[OpenMP] Remove OMP spec versioning
Remove all older OMP spec versioning from the runtime and build system. Patch by Terry Wilmarth Differential Revision: https://reviews.llvm.org/D64534 llvm-svn: 365963
Diffstat (limited to 'openmp/runtime/src/z_Windows_NT_util.cpp')
-rw-r--r--openmp/runtime/src/z_Windows_NT_util.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/openmp/runtime/src/z_Windows_NT_util.cpp b/openmp/runtime/src/z_Windows_NT_util.cpp
index c503e9c65c8..c149dda56e8 100644
--- a/openmp/runtime/src/z_Windows_NT_util.cpp
+++ b/openmp/runtime/src/z_Windows_NT_util.cpp
@@ -372,14 +372,12 @@ static inline void __kmp_suspend_template(int th_gtid, C *flag) {
/* TODO: shouldn't this use release semantics to ensure that
__kmp_suspend_initialize_thread gets called first? */
old_spin = flag->set_sleeping();
-#if OMP_50_ENABLED
if (__kmp_dflt_blocktime == KMP_MAX_BLOCKTIME &&
__kmp_pause_status != kmp_soft_paused) {
flag->unset_sleeping();
__kmp_win32_mutex_unlock(&th->th.th_suspend_mx);
return;
}
-#endif
KF_TRACE(5, ("__kmp_suspend_template: T#%d set sleep bit for flag's"
" loc(%p)==%d\n",
OpenPOWER on IntegriCloud