[llvm] [SystemZ, LoopVectorizer] Enable vectorization of epilogue loops after VF16. (PR #172925)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 11 08:01:08 PST 2026
================
@@ -1932,8 +1932,9 @@ class TargetTransformInfo {
LLVM_ABI bool preferPredicatedReductionSelect() const;
/// Return true if the loop vectorizer should consider vectorizing an
- /// otherwise scalar epilogue loop.
- LLVM_ABI bool preferEpilogueVectorization() const;
+ /// otherwise scalar epilogue loop if the loop already has been vectorized
+ /// with VF x IC, running \p Iters scalar iterations per vector iteration.
+ LLVM_ABI bool preferEpilogueVectorization(ElementCount Iters) const;
----------------
fhahn wrote:
```suggestion
/// otherwise scalar epilogue loop if the loop already has been vectorized
/// processing \p Iters scalar iterations per vector iteration.
LLVM_ABI bool preferEpilogueVectorization(ElementCount Iters) const;
```
https://github.com/llvm/llvm-project/pull/172925
More information about the llvm-commits
mailing list