[VPlan] Fix typo in cb4efe1d.
This commit is contained in:
parent
cb4efe1d07
commit
768dba71fe
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user