VPlanRecipes.cpp - fix "'llvm::VPExpressionRecipe::computeCost': not all control paths return a value" MSVC warning. NFC.
This commit is contained in:
@@ -2656,6 +2656,7 @@ InstructionCost VPExpressionRecipe::computeCost(ElementCount VF,
|
||||
Instruction::ZExt,
|
||||
RedTy, SrcVecTy, Ctx.CostKind);
|
||||
}
|
||||
llvm_unreachable("Unknown VPExpressionRecipe::ExpressionTypes enum");
|
||||
}
|
||||
|
||||
bool VPExpressionRecipe::mayReadOrWriteMemory() const {
|
||||
|
||||
Reference in New Issue
Block a user