[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 16 05:01:24 PDT 2025
================
@@ -70,6 +70,9 @@ enum class RecurKind {
FindLastIVUMax, ///< FindLast reduction with select(cmp(),x,y) where one of
///< (x,y) is increasing loop induction, and both x and y
///< are integer type, producing a UMax reduction.
+ FindLast, ///< FindLast reduction with select(cmp(),x,y) where x and y
+ ///< can be any scalar type, one is the current recurrence
----------------
Mel-Chen wrote:
Since isIntegerRecurrenceKind returns true for FindLast, I suggest
```suggestion
///< are integer type, one is the current recurrence
```
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list