[llvm] [VPlan] Manage Sentinel value for FindLastIV in VPlan. (PR #142291)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 13 13:53:24 PDT 2025


================
@@ -9235,9 +9237,11 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
     if (RecurrenceDescriptor::isFindLastIVRecurrenceKind(
             RdxDesc.getRecurrenceKind())) {
       VPValue *Start = PhiR->getStartValue();
----------------
ayalz wrote:

`VPValue *Sentinel = ...`

https://github.com/llvm/llvm-project/pull/142291


More information about the llvm-commits mailing list