Skip to content

Commit e78eb44

Browse files
committed
!fixup handle updated opcodes.
1 parent c134f89 commit e78eb44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,10 @@ unsigned VPInstruction::getNumOperandsForOpcode(unsigned Opcode) {
459459
return 2;
460460
case Instruction::Select:
461461
case VPInstruction::ComputeAnyOfResult:
462-
case VPInstruction::ComputeFindLastIVResult:
462+
case VPInstruction::ReductionStartVector:
463463
return 3;
464+
case VPInstruction::ComputeFindLastIVResult:
465+
return 4;
464466
case Instruction::Call:
465467
case Instruction::GetElementPtr:
466468
case Instruction::PHI:

0 commit comments

Comments
 (0)