File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1355,7 +1355,6 @@ static SmallVector<VPValue *> collectAllHeaderMasks(VPlan &Plan) {
1355
1355
// Walk users of wide canonical IVs and collect to all compares of the form
1356
1356
// (ICMP_ULE, WideCanonicalIV, backedge-taken-count).
1357
1357
SmallVector<VPValue *> HeaderMasks;
1358
- VPValue *BTC = Plan.getOrCreateBackedgeTakenCount ();
1359
1358
for (auto *Wide : WideCanonicalIVs) {
1360
1359
for (VPUser *U : SmallVector<VPUser *>(Wide->users ())) {
1361
1360
auto *HeaderMask = dyn_cast<VPInstruction>(U);
@@ -1407,7 +1406,7 @@ void VPlanTransforms::addActiveLaneMask(
1407
1406
static void transformRecipestoEVLRecipes (VPlan &Plan, VPValue &EVL) {
1408
1407
VPDominatorTree VPDT;
1409
1408
VPDT.recalculate (Plan);
1410
- DenseSet <VPRecipeBase *> ToRemove;
1409
+ SmallVector <VPRecipeBase *> ToRemove;
1411
1410
1412
1411
SmallVector<VPValue *> HeaderMasks = collectAllHeaderMasks (Plan);
1413
1412
for (VPValue *HeaderMask : collectAllHeaderMasks (Plan)) {
You can’t perform that action at this time.
0 commit comments