[llvm] 39cf210 - [LV] Remove unnecessary std::move from tryToBuildVPlanWith.. (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 03:56:27 PDT 2023
Author: Florian Hahn
Date: 2023-08-04T11:56:05+01:00
New Revision: 39cf2104507a4b6734bddd2b894855a624b2bf68
URL: https://github.com/llvm/llvm-project/commit/39cf2104507a4b6734bddd2b894855a624b2bf68
DIFF: https://github.com/llvm/llvm-project/commit/39cf2104507a4b6734bddd2b894855a624b2bf68.diff
LOG: [LV] Remove unnecessary std::move from tryToBuildVPlanWith.. (NFC).
Split off D154644.
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 61c038f2fb19c6..ea3a2f9bce23dd 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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) {
More information about the llvm-commits
mailing list