[llvm] b8b740c - [SLP][NFC]Remove unused variable, NFC.
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 19 12:35:58 PDT 2022
Author: Alexey Bataev
Date: 2022-10-19T12:35:27-07:00
New Revision: b8b740c834ae39691b3247b30d30f00cae2b9e10
URL: https://github.com/llvm/llvm-project/commit/b8b740c834ae39691b3247b30d30f00cae2b9e10
DIFF: https://github.com/llvm/llvm-project/commit/b8b740c834ae39691b3247b30d30f00cae2b9e10.diff
LOG: [SLP][NFC]Remove unused variable, NFC.
Added:
Modified:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index b056c8e13152..d60c9f65e3ac 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -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);
More information about the llvm-commits
mailing list