[llvm] 7ffb691 - [VPlan] Remove dead ToRemove (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 14:05:01 PST 2025
Author: Florian Hahn
Date: 2025-01-09T22:02:32Z
New Revision: 7ffb691595a3108f72023ae0051487df25a85fc3
URL: https://github.com/llvm/llvm-project/commit/7ffb691595a3108f72023ae0051487df25a85fc3
DIFF: https://github.com/llvm/llvm-project/commit/7ffb691595a3108f72023ae0051487df25a85fc3.diff
LOG: [VPlan] Remove dead ToRemove (NFC).
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 3e3f5adf73a0f0..8f6fb07b1e4f27 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -588,7 +588,6 @@ static SmallVector<VPUser *> collectUsersRecursively(VPValue *V) {
/// vector extracts.
static void legalizeAndOptimizeInductions(VPlan &Plan) {
using namespace llvm::VPlanPatternMatch;
- SmallVector<VPRecipeBase *> ToRemove;
VPBasicBlock *HeaderVPBB = Plan.getVectorLoopRegion()->getEntryBasicBlock();
bool HasOnlyVectorVFs = !Plan.hasVF(ElementCount::getFixed(1));
VPBuilder Builder(HeaderVPBB, HeaderVPBB->getFirstNonPhi());
More information about the llvm-commits
mailing list