[SLP][NFC]Remove unused variable, NFC.
authorAlexey Bataev <a.bataev@outlook.com>
Wed, 19 Oct 2022 19:29:49 +0000 (12:29 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Wed, 19 Oct 2022 19:35:27 +0000 (12:35 -0700)
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

index b056c8e..d60c9f6 100644 (file)
@@ -6795,7 +6795,6 @@ InstructionCost BoUpSLP::getEntryCost(const TreeEntry *E,
         VecCost += TTI->getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty,
                                          TTI::CastContextHint::None, CostKind);
       }
-      SmallVector<int> Mask;
       if (E->ReuseShuffleIndices.empty()) {
         VecCost +=
             TTI->getShuffleCost(TargetTransformInfo::SK_Select, FinalVecTy);