[llvm] 768dba7 - [VPlan] Fix typo in cb4efe1d.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 13:42:49 PDT 2024
Author: Florian Hahn
Date: 2024-08-22T21:42:16+01:00
New Revision: 768dba71fe0caf2b7e698a1c29c86a48bbd00149
URL: https://github.com/llvm/llvm-project/commit/768dba71fe0caf2b7e698a1c29c86a48bbd00149
DIFF: https://github.com/llvm/llvm-project/commit/768dba71fe0caf2b7e698a1c29c86a48bbd00149.diff
LOG: [VPlan] Fix typo in cb4efe1d.
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 32e8f331257801..f2de38f46c86aa 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -7246,7 +7246,7 @@ planContainsAdditionalSimplifications(VPlan &Plan, ElementCount VF,
VPCostContext &CostCtx, Loop *TheLoop,
LoopVectorizationCostModel &CM) {
// 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))
return dyn_cast_or_null<Instruction>(S->getUnderlyingValue());
if (auto *WidenMem = dyn_cast<VPWidenMemoryRecipe>(R))
More information about the llvm-commits
mailing list