[Openmp-commits] [openmp] 4a64bed - [OpenMP] libomp: cleanup - remove duplicate check
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Thu May 5 09:01:53 PDT 2022
Author: AndreyChurbanov
Date: 2022-05-05T11:01:20-05:00
New Revision: 4a64bed2160c6031d2c7c3321d4f88734c00f9bb
URL: https://github.com/llvm/llvm-project/commit/4a64bed2160c6031d2c7c3321d4f88734c00f9bb
DIFF: https://github.com/llvm/llvm-project/commit/4a64bed2160c6031d2c7c3321d4f88734c00f9bb.diff
LOG: [OpenMP] libomp: cleanup - remove duplicate check
The identical check remains 20 lines above in the code.
Differential Revision: https://reviews.llvm.org/D123046
Added:
Modified:
openmp/runtime/src/kmp_wait_release.h
Removed:
################################################################################
diff --git a/openmp/runtime/src/kmp_wait_release.h b/openmp/runtime/src/kmp_wait_release.h
index 59369dcd7a14b..962f6576775e1 100644
--- a/openmp/runtime/src/kmp_wait_release.h
+++ b/openmp/runtime/src/kmp_wait_release.h
@@ -625,10 +625,6 @@ final_spin=FALSE)
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));
More information about the Openmp-commits
mailing list