Skip to content

Commit 63eb004

Browse files
committed
VPlanRecipes.cpp - fix "not all control paths return a value" MSVC warning
1 parent 6680772 commit 63eb004

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,7 @@ bool VPIRFlags::flagsValidForOpcode(unsigned Opcode) const {
16081608
case OperationType::Other:
16091609
return true;
16101610
}
1611+
llvm_unreachable("Unknown OperationType enum");
16111612
}
16121613
#endif
16131614

0 commit comments

Comments
 (0)