[VPlan] Fix typo in cb4efe1d.

This commit is contained in:
Florian Hahn 2024-08-22 21:42:16 +01:00
parent cb4efe1d07
commit 768dba71fe
No known key found for this signature in database
GPG Key ID: DE52A1D3AE255351

View File

@ -7246,7 +7246,7 @@ planContainsAdditionalSimplifications(VPlan &Plan, ElementCount VF,
VPCostContext &CostCtx, Loop *TheLoop, VPCostContext &CostCtx, Loop *TheLoop,
LoopVectorizationCostModel &CM) { LoopVectorizationCostModel &CM) {
// First collect all instructions for the recipes in Plan. // First collect all instructions for the recipes in Plan.
auto GetInstructionForCost = [](const VPRecipeBase *R) -> Instruction q { auto GetInstructionForCost = [](const VPRecipeBase *R) -> Instruction * {
if (auto *S = dyn_cast<VPSingleDefRecipe>(R)) if (auto *S = dyn_cast<VPSingleDefRecipe>(R))
return dyn_cast_or_null<Instruction>(S->getUnderlyingValue()); return dyn_cast_or_null<Instruction>(S->getUnderlyingValue());
if (auto *WidenMem = dyn_cast<VPWidenMemoryRecipe>(R)) if (auto *WidenMem = dyn_cast<VPWidenMemoryRecipe>(R))