[llvm] Unroll loops apple (PR #149358)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 11:50:02 PDT 2025


================
@@ -4808,10 +4808,10 @@ getAppleRuntimeUnrollPreferences(Loop *L, ScalarEvolution &SE,
   if (Header == L->getLoopLatch()) {
     // Estimate the size of the loop.
     unsigned Size;
-    if (!isLoopSizeWithinBudget(L, TTI, 8, &Size))
+    if (!isLoopSizeWithinBudget(L, TTI, 9, &Size))
----------------
fhahn wrote:

Commend above (4805) needs updating with the rationale for the changes

https://github.com/llvm/llvm-project/pull/149358


More information about the llvm-commits mailing list