[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 02:01:10 PST 2025
================
@@ -702,8 +704,10 @@ RecurrenceDescriptor::isFindIVPattern(RecurKind Kind, Loop *TheLoop,
return InstDesc(false, I);
// We are looking for selects of the form:
- // select(cmp(), phi, loop_induction) or
- // select(cmp(), loop_induction, phi)
+ // select(cmp(), phi, value) or
+ // select(cmp(), value, phi)
+ // where 'value' is be a loop induction variable
----------------
fhahn wrote:
```suggestion
// where 'value' must be a loop induction variable
```
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list