[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 07:15:06 PDT 2025


================
@@ -712,6 +714,27 @@ RecurrenceDescriptor::isFindIVPattern(RecurKind Kind, Loop *TheLoop,
                                      m_Value(NonRdxPhi)))))
     return InstDesc(false, I);
 
+  if (isFindLastRecurrenceKind(Kind)) {
----------------
MacDue wrote:

There's also the comment above for `We are looking for selects of the form:` which should now in include the FindLast case. 

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


More information about the llvm-commits mailing list