[llvm] [LV] Add -predicated-epilogue option for tail-folded epilogue (PR #190697)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 01:57:11 PDT 2026
================
@@ -857,6 +862,11 @@ enum ScalarEpilogueLowering {
// Loop hint predicate indicating an epilogue is undesired.
CM_ScalarEpilogueNotNeededUsePredicate,
+ // Predicated vector epilogue requested; the scalar epilogue of the
----------------
david-arm wrote:
nit: Perhaps this might be better written as
```
// Predicated vector epilogue requested; the scalar tail will be folded into
// the vectorized epilogue loop if possible, otherwise fall back on a scalar
// epilogue.
```
?
https://github.com/llvm/llvm-project/pull/190697
More information about the llvm-commits
mailing list