Skip to content

Commit f9a8096

Browse files
committed
[VPlan] Merge Select with previous cases in ::computeCost (NFC).
Merge cases calling the same helper, as suggested post-commit in llvm/llvm-project#174234
1 parent 55e7a89 commit f9a8096

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2283,7 +2283,6 @@ InstructionCost VPWidenRecipe::computeCost(ElementCount VF,
22832283
case Instruction::ExtractValue:
22842284
case Instruction::ICmp:
22852285
case Instruction::FCmp:
2286-
return getCostForRecipeWithOpcode(getOpcode(), VF, Ctx);
22872286
case Instruction::Select:
22882287
return getCostForRecipeWithOpcode(getOpcode(), VF, Ctx);
22892288
default:

0 commit comments

Comments
 (0)