[Openmp-commits] [PATCH] D123046: [OpenMP] libomp: cleanup - remove duplicate check
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Apr 4 09:23:28 PDT 2022
AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: hbae, jlpeyton, tlwilmar.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
AndreyChurbanov requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
The identical check remains 20 lines above in the code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123046
Files:
openmp/runtime/src/kmp_wait_release.h
Index: openmp/runtime/src/kmp_wait_release.h
===================================================================
--- openmp/runtime/src/kmp_wait_release.h
+++ openmp/runtime/src/kmp_wait_release.h
@@ -625,10 +625,6 @@
if (!Sleepable)
continue;
- if (__kmp_dflt_blocktime == KMP_MAX_BLOCKTIME &&
- __kmp_pause_status != kmp_soft_paused)
- continue;
-
#if KMP_HAVE_MWAIT || KMP_HAVE_UMWAIT
if (__kmp_mwait_enabled || __kmp_umwait_enabled) {
KF_TRACE(50, ("__kmp_wait_sleep: T#%d using monitor/mwait\n", th_gtid));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123046.420206.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220404/5fe74088/attachment.bin>
More information about the Openmp-commits
mailing list