================
@@ -8183,11 +7996,11 @@ void OpenMPIRBuilder::unrollLoopPartial(DebugLoc DL,
CanonicalLoopInfo *Loop,
return;
}
- // Heuristically determine the unroll factor.
+ // TODO: Use a better profitability model.
if (Factor == 0) {
if (Loop->VirtualCollapse)
Loop->reportUnsupportedVirtualCollapse();
- Factor = computeHeuristicUnrollFactor(Loop);
+ Factor = 2;
----------------
arsenm wrote:
done
https://github.com/llvm/llvm-project/pull/240030
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits