[llvm] [LoopUnroll] Bound automatic full-unroll cloning work (PR #211683)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 29 12:57:11 PDT 2026
================
@@ -701,6 +701,9 @@ class TargetTransformInfo {
/// applies even if full unrolling is selected. This allows a target to fall
/// back to Partial unrolling if full unrolling is above FullUnrollMaxCount.
unsigned FullUnrollMaxCount;
+ /// Set the maximum estimated instructions cloned by automatic full
+ /// unrolling. Set to UINT64_MAX to disable.
+ uint64_t FullUnrollMaxClonedInstructions;
----------------
justinfargnoli wrote:
I'm not sure if this makes sense to live in UP. Why would different targets want different values?
https://github.com/llvm/llvm-project/pull/211683
More information about the llvm-commits
mailing list