[llvm] [LoopUnroll] Add UnrollMultiExit to loop unrolling options (NFC) (PR #124462)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 26 13:42:55 PST 2025


================
@@ -622,6 +622,9 @@ class TargetTransformInfo {
     /// Don't allow runtime unrolling if expanding the trip count takes more
     /// than SCEVExpansionBudget.
     unsigned SCEVExpansionBudget;
+    /// Allow runtime unrolling multi-exit loops. Should only be set if the
+    /// target determined that multi-exit unrolling is profitable for the loop.
+    bool UnrollMultiExit;
----------------
fhahn wrote:

Done thanks

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


More information about the llvm-commits mailing list