[OpenMP][libomp] Cleanup __kmpc_flush() code
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Mon, 1 Aug 2022 19:12:29 +0000 (14:12 -0500)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 8 Sep 2022 21:17:20 +0000 (16:17 -0500)
commite5ac98fa0150c29ed9463460b17e085adb9b977b
tree6b348ae75f77e4c723c4e8ce75f40d52dd9c2c88
parent1cf5c7fe8ce21b3add80972e6aaeb30a1f61bff9
[OpenMP][libomp] Cleanup __kmpc_flush() code

Have it be simple KMP_MFENCE() which incorporates x86-specific logic and
reduces to KMP_MB() for other architectures.

Differential Revision: https://reviews.llvm.org/D130928
openmp/runtime/src/kmp_csupport.cpp
openmp/runtime/src/kmp_os.h