[llvm] [AArch64] Enable unrolling for small multi-exit loops (PR #131998)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 10:55:12 PDT 2025


================
@@ -4528,6 +4528,88 @@ getFalkorUnrollingPreferences(Loop *L, ScalarEvolution &SE,
   }
 }
 
+static bool shouldUnrollLoopWithInstruction(Instruction &I,
----------------
fhahn wrote:

If not inlined back, would be good to doucment.

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


More information about the llvm-commits mailing list