Skip to content

Commit

Permalink
[VPlan] Remove dead ToRemove (NFC).
Browse files Browse the repository at this point in the history
  • Loading branch information
fhahn committed Jan 9, 2025
1 parent 4f42e16 commit 7ffb691
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 7ffb691

Please sign in to comment.