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 @@ -1360,7 +1360,6 @@ static SmallVector<VPValue *> collectAllHeaderMasks(VPlan &Plan) {
1360
1360
// Walk users of wide canonical IVs and collect to all compares of the form
1361
1361
// (ICMP_ULE, WideCanonicalIV, backedge-taken-count).
1362
1362
SmallVector<VPValue *> HeaderMasks;
1363
- VPValue *BTC = Plan.getOrCreateBackedgeTakenCount ();
1364
1363
for (auto *Wide : WideCanonicalIVs) {
1365
1364
for (VPUser *U : SmallVector<VPUser *>(Wide->users ())) {
1366
1365
auto *HeaderMask = dyn_cast<VPInstruction>(U);
@@ -1412,7 +1411,7 @@ void VPlanTransforms::addActiveLaneMask(
1412
1411
static void transformRecipestoEVLRecipes (VPlan &Plan, VPValue &EVL) {
1413
1412
VPDominatorTree VPDT;
1414
1413
VPDT.recalculate (Plan);
1415
- DenseSet <VPRecipeBase *> ToRemove;
1414
+ SmallVector <VPRecipeBase *> ToRemove;
1416
1415
1417
1416
SmallVector<VPValue *> HeaderMasks = collectAllHeaderMasks (Plan);
1418
1417
for (VPValue *HeaderMask : collectAllHeaderMasks (Plan)) {
You can’t perform that action at this time.
0 commit comments