[llvm] 13b2fba - [OpenMP][NFC] Fix typo in OpenMPOpt
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 28 06:50:08 PDT 2021
Author: Joseph Huber
Date: 2021-06-28T09:49:14-04:00
New Revision: 13b2fba2398d433a5f5f9534c737c434dfb0c7b3
URL: https://github.com/llvm/llvm-project/commit/13b2fba2398d433a5f5f9534c737c434dfb0c7b3
DIFF: https://github.com/llvm/llvm-project/commit/13b2fba2398d433a5f5f9534c737c434dfb0c7b3.diff
LOG: [OpenMP][NFC] Fix typo in OpenMPOpt
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 d2831b2fa7ef..376537863461 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -2668,9 +2668,9 @@ 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(M)) ? 128 : 32;
+ unsigned MaxFixpointIterations = (isOpenMPDevice(M)) ? 128 : 32;
Attributor A(Functions, InfoCache, CGUpdater, nullptr, true, false,
- MaxFixponitIterations, OREGetter, DEBUG_TYPE);
+ MaxFixpointIterations, OREGetter, DEBUG_TYPE);
OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A);
bool Changed = OMPOpt.run(true);
@@ -2720,9 +2720,9 @@ PreservedAnalyses OpenMPOptCGSCCPass::run(LazyCallGraph::SCC &C,
OMPInformationCache InfoCache(*(Functions.back()->getParent()), AG, Allocator,
/*CGSCC*/ Functions, Kernels);
- unsigned MaxFixponitIterations = (isOpenMPDevice(M)) ? 128 : 32;
+ unsigned MaxFixpointIterations = (isOpenMPDevice(M)) ? 128 : 32;
Attributor A(Functions, InfoCache, CGUpdater, nullptr, false, true,
- MaxFixponitIterations, OREGetter, DEBUG_TYPE);
+ MaxFixpointIterations, OREGetter, DEBUG_TYPE);
OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A);
bool Changed = OMPOpt.run(false);
@@ -2786,9 +2786,9 @@ struct OpenMPOptCGSCCLegacyPass : public CallGraphSCCPass {
Allocator,
/*CGSCC*/ Functions, Kernels);
- unsigned MaxFixponitIterations = (isOpenMPDevice(M)) ? 128 : 32;
+ unsigned MaxFixpointIterations = (isOpenMPDevice(M)) ? 128 : 32;
Attributor A(Functions, InfoCache, CGUpdater, nullptr, false, true,
- MaxFixponitIterations, OREGetter, DEBUG_TYPE);
+ MaxFixpointIterations, OREGetter, DEBUG_TYPE);
OpenMPOpt OMPOpt(SCC, CGUpdater, OREGetter, InfoCache, A);
return OMPOpt.run(false);
More information about the llvm-commits
mailing list