[llvm] [LoopUnroll] Allow unrolling of multi-exit loops with small trip count (PR #224325)

Marek Sedláček via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 00:40:50 PDT 2026


================
@@ -0,0 +1,169 @@
+; RUN: opt < %s -passes=loop-unroll -unroll-runtime=true -verify-dom-info -verify-loop-info -unroll-runtime-other-exit-predictable=false -predictable-branch-threshold=99 -S | FileCheck %s
----------------
mark-sed wrote:

I add these for stability since there are some downstreams which switch these flags and in my previous PRs I had reports of failures which ended up being caused by their downstream switching these flags (and I ended up adding these flags anyway - https://github.com/llvm/llvm-project/pull/179198).

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


More information about the llvm-commits mailing list