[llvm] [LV] Add -predicated-epilogue option for tail-folded epilogue (PR #190697)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 09:52:14 PDT 2026
================
@@ -8555,6 +8571,8 @@ static ScalarEpilogueLowering getScalarEpilogueLowering(
return CM_ScalarEpilogueNotNeededUsePredicate;
case PreferPredicateTy::PredicateOrDontVectorize:
return CM_ScalarEpilogueNotAllowedUsePredicate;
+ default:
+ break;
----------------
hassnaaHamdi wrote:
Based on an offline discussion with David, the `ScalarEpilogueLowering` enum needs renaming to something like `EpilogueLowering` because the `scalar` word here is confusing and doesn't represent what happens actually.
So, it will be reasonable that the function of `getScalarEpilogueLowering` returns `CM_EpilogueAllowed` for the case of vectorized unpredicated main loop.
https://github.com/llvm/llvm-project/pull/190697
More information about the llvm-commits
mailing list