Skip to content

Commit 768dba7

Browse files
committed
[VPlan] Fix typo in cb4efe1.
1 parent cb4efe1 commit 768dba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7246,7 +7246,7 @@ planContainsAdditionalSimplifications(VPlan &Plan, ElementCount VF,
72467246
VPCostContext &CostCtx, Loop *TheLoop,
72477247
LoopVectorizationCostModel &CM) {
72487248
// First collect all instructions for the recipes in Plan.
7249-
auto GetInstructionForCost = [](const VPRecipeBase *R) -> Instruction q {
7249+
auto GetInstructionForCost = [](const VPRecipeBase *R) -> Instruction * {
72507250
if (auto *S = dyn_cast<VPSingleDefRecipe>(R))
72517251
return dyn_cast_or_null<Instruction>(S->getUnderlyingValue());
72527252
if (auto *WidenMem = dyn_cast<VPWidenMemoryRecipe>(R))

0 commit comments

Comments
 (0)