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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 21 05:32:59 PST 2025


================
@@ -712,6 +716,17 @@ RecurrenceDescriptor::isFindIVPattern(RecurKind Kind, Loop *TheLoop,
                                      m_Value(NonRdxPhi)))))
     return InstDesc(false, I);
 
+  if (isFindLastRecurrenceKind(Kind)) {
+    // Must be an integer scalar.
+    Type *Type = OrigPhi->getType();
+    if (!Type->isIntegerTy())
+      return InstDesc(false, I);
----------------
fhahn wrote:

It looks like the file is not part of the lastest version of the PR AFAICT, is it possible it got dropped by accident?

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


More information about the llvm-commits mailing list