[llvm] Comment fix in UnrollingPreferences. (PR #177880)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 25 13:24:22 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-analysis
Author: Jonas Paulsson (JonPsson1)
<details>
<summary>Changes</summary>
It seems this comment became slightly mis-formulated..?
@<!-- -->rampitec @<!-- -->fhahn @<!-- -->alex-t
---
Full diff: https://github.com/llvm/llvm-project/pull/177880.diff
1 Files Affected:
- (modified) llvm/include/llvm/Analysis/TargetTransformInfo.h (+1-1)
``````````diff
diff --git a/llvm/include/llvm/Analysis/TargetTransformInfo.h b/llvm/include/llvm/Analysis/TargetTransformInfo.h
index 13e064d7ee6aa..a9ed339bd0fdd 100644
--- a/llvm/include/llvm/Analysis/TargetTransformInfo.h
+++ b/llvm/include/llvm/Analysis/TargetTransformInfo.h
@@ -700,7 +700,7 @@ class TargetTransformInfo {
/// Don't allow loop unrolling to simulate more than this number of
/// iterations when checking full unroll profitability
unsigned MaxIterationsCountToAnalyze;
- /// Don't disable runtime unroll for the loops which were vectorized.
+ /// Disable runtime unrolling by default for vectorized loops.
bool UnrollVectorizedLoop = false;
/// Don't allow runtime unrolling if expanding the trip count takes more
/// than SCEVExpansionBudget.
``````````
</details>
https://github.com/llvm/llvm-project/pull/177880
More information about the llvm-commits
mailing list