diff --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp --- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp +++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp @@ -2668,7 +2668,7 @@ OMPInformationCache InfoCache(M, AG, Allocator, /*CGSCC*/ Functions, OMPInModule.getKernels()); - unsigned MaxFixponitIterations = (!OMPInModule.getKernels().empty()) ? 64 : 32; + unsigned MaxFixponitIterations = (!OMPInModule.getKernels().empty()) ? 128 : 32; Attributor A(Functions, InfoCache, CGUpdater, nullptr, true, false, MaxFixponitIterations, OREGetter, DEBUG_TYPE); @@ -2725,7 +2725,7 @@ OMPInformationCache InfoCache(*(Functions.back()->getParent()), AG, Allocator, /*CGSCC*/ Functions, OMPInModule.getKernels()); - unsigned MaxFixponitIterations = (!OMPInModule.getKernels().empty()) ? 64 : 32; + unsigned MaxFixponitIterations = (!OMPInModule.getKernels().empty()) ? 128 : 32; Attributor A(Functions, InfoCache, CGUpdater, nullptr, false, true, MaxFixponitIterations, OREGetter, DEBUG_TYPE); @@ -2803,7 +2803,7 @@ *(Functions.back()->getParent()), AG, Allocator, /*CGSCC*/ Functions, OMPInModule.getKernels()); - unsigned MaxFixponitIterations = (!OMPInModule.getKernels().empty()) ? 64 : 32; + unsigned MaxFixponitIterations = (!OMPInModule.getKernels().empty()) ? 128 : 32; Attributor A(Functions, InfoCache, CGUpdater, nullptr, false, true, MaxFixponitIterations, OREGetter, DEBUG_TYPE);