[llvm] c44702b - Remove unused variable `KMPC_KERNEL_PARALLEL_WORK_FN_PTR_ARG_NO` (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 11 00:18:15 PDT 2020
Author: Mehdi Amini
Date: 2020-07-11T07:17:28Z
New Revision: c44702bcdf8aa829e28399d0d4ac4bfc5ac4fff1
URL: https://github.com/llvm/llvm-project/commit/c44702bcdf8aa829e28399d0d4ac4bfc5ac4fff1
DIFF: https://github.com/llvm/llvm-project/commit/c44702bcdf8aa829e28399d0d4ac4bfc5ac4fff1.diff
LOG: Remove unused variable `KMPC_KERNEL_PARALLEL_WORK_FN_PTR_ARG_NO` (NFC)
This fixes a compiler warning.
Added:
Modified:
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
index 4df65f81912b..7d93e78357b3 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -1021,8 +1021,6 @@ Kernel OpenMPOpt::getUniqueKernelFor(Function &F) {
}
bool OpenMPOpt::rewriteDeviceCodeStateMachine() {
- constexpr unsigned KMPC_KERNEL_PARALLEL_WORK_FN_PTR_ARG_NO = 0;
-
OMPInformationCache::RuntimeFunctionInfo &KernelPrepareParallelRFI =
OMPInfoCache.RFIs[OMPRTL___kmpc_kernel_prepare_parallel];
More information about the llvm-commits
mailing list