[llvm] [ARM] Reduce loop unroll when low overhead branching is available (PR #120065)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 10:28:42 PST 2024


================
@@ -2592,11 +2592,23 @@ void ARMTTIImpl::getUnrollingPreferences(Loop *L, ScalarEvolution &SE,
       return;
   }
 
+  bool Runtime = true;
+  if (ST->hasLOB()) {
----------------
davemgreen wrote:

Can you add a comment explaining the reason?

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


More information about the llvm-commits mailing list