Skip to content

Commit

Permalink
[LV] Remove unnecessary std::move from tryToBuildVPlanWith.. (NFC).
Browse files Browse the repository at this point in the history
Split off D154644.
  • Loading branch information
fhahn committed Aug 4, 2023
1 parent c30099e commit 39cf210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9085,7 +9085,7 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
VPlanTransforms::mergeBlocksIntoPredecessors(*Plan);

assert(VPlanVerifier::verifyPlanIsValid(*Plan) && "VPlan is invalid");
return std::move(Plan);
return Plan;
}

VPlanPtr LoopVectorizationPlanner::buildVPlan(VFRange &Range) {
Expand Down

0 comments on commit 39cf210

Please sign in to comment.