[all-commits] [llvm/llvm-project] cff215: [OpenMP] Remove unused variables from libomp code
Joachim via All-commits
all-commits at lists.llvm.org
Wed Jun 16 00:37:27 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cff215565e9351511d805f72e62803718be6aaa4
https://github.com/llvm/llvm-project/commit/cff215565e9351511d805f72e62803718be6aaa4
Author: Joachim Protze <protze at itc.rwth-aachen.de>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M openmp/runtime/cmake/LibompHandleFlags.cmake
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_ftn_entry.h
M openmp/runtime/src/kmp_lock.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_wait_release.h
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[OpenMP] Remove unused variables from libomp code
Several variables were left unused as a result of different patches removing
their use.
Two variables have some use:
`poll_count` is used by the KMP_BLOCKING macro only under certain conditions.
Adding (void) to tell the compiler to ignore the unused variable.
`padding` is a dummy stack allocation with no intent to be used. Also adding
(void) to make the compiler ignore the unused variable.
Differential Revision: https://reviews.llvm.org/D104303
More information about the All-commits
mailing list