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

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 07:53:46 PST 2025


================
@@ -712,6 +716,25 @@ RecurrenceDescriptor::isFindIVPattern(RecurKind Kind, Loop *TheLoop,
                                      m_Value(NonRdxPhi)))))
     return InstDesc(false, I);
 
+  if (isFindLastRecurrenceKind(Kind)) {
+    // Must be an integer scalar.
----------------
huntergr-arm wrote:

I removed support for pointers for the time being, since they aren't integers and get rejected elsewhere. I originally tried to make this single RecurKind generic instead of being explicitly integer or fp only, but dropped that to reduce the delta. We can extend support later.

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


More information about the llvm-commits mailing list