[llvm] 4024087 - [OpenMP][NFC] Fix missing argument
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 28 06:17:29 PDT 2021
Author: Joseph Huber
Date: 2021-06-28T09:15:01-04:00
New Revision: 40240877310897ad0643e71dfa0b86a149ca3a61
URL: https://github.com/llvm/llvm-project/commit/40240877310897ad0643e71dfa0b86a149ca3a61
DIFF: https://github.com/llvm/llvm-project/commit/40240877310897ad0643e71dfa0b86a149ca3a61.diff
LOG: [OpenMP][NFC] Fix missing argument
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 2410e52848cb..d2831b2fa7ef 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -2668,7 +2668,7 @@ PreservedAnalyses OpenMPOptPass::run(Module &M, ModuleAnalysisManager &AM) {
SetVector<Function *> Functions(SCC.begin(), SCC.end());
OMPInformationCache InfoCache(M, AG, Allocator, /*CGSCC*/ Functions, Kernels);
- unsigned MaxFixponitIterations = (isOpenMPDevice) ? 128 : 32;
+ unsigned MaxFixponitIterations = (isOpenMPDevice(M)) ? 128 : 32;
Attributor A(Functions, InfoCache, CGUpdater, nullptr, true, false,
MaxFixponitIterations, OREGetter, DEBUG_TYPE);
More information about the llvm-commits
mailing list