Skip to content

Commit 0cff9fe

Browse files
committed
Rebase
1 parent 6311423 commit 0cff9fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9649,7 +9649,8 @@ VPlanPtr LoopVectorizationPlanner::buildVPlan(VFRange &Range) {
96499649

96509650
// Collect mapping of IR header phis to header phi recipes, to be used in
96519651
// addScalarResumePhis.
9652-
VPRecipeBuilder RecipeBuilder(*Plan, OrigLoop, TLI, Legal, CM, PSE, Builder);
9652+
VPRecipeBuilder RecipeBuilder(*Plan, OrigLoop, TLI, &TTI, Legal, CM, PSE,
9653+
Builder);
96539654
for (auto &R : Plan->getVectorLoopRegion()->getEntryBasicBlock()->phis()) {
96549655
if (isa<VPCanonicalIVPHIRecipe>(&R))
96559656
continue;

0 commit comments

Comments
 (0)