[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 03:14:05 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.
----------------
MacDue wrote:
```suggestion
// Must be an integer or pointer scalar.
```
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list