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

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 02:51:56 PDT 2025


================
@@ -1245,6 +1287,7 @@ unsigned RecurrenceDescriptor::getOpcode(RecurKind Kind) {
   case RecurKind::SMin:
   case RecurKind::UMax:
   case RecurKind::UMin:
+  case RecurKind::FindLast:
----------------
Mel-Chen wrote:

https://github.com/llvm/llvm-project/pull/162252
icmp and fcmp shouldn’t be part of the recurrence chain. I think the opcode should return Instruction::Select instead.

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


More information about the llvm-commits mailing list