Skip to content

Commit a3c6875

Browse files
committed
[SLP][NFC]Remove unused variables, NFC.
1 parent 3935a29 commit a3c6875

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7633,9 +7633,6 @@ BoUpSLP::getEntryCost(const TreeEntry *E, ArrayRef<Value *> VectorizedVals,
76337633
SmallVector<const TreeEntry *> Entries;
76347634
// Check for gathered extracts.
76357635
ExtractShuffle = tryToGatherSingleRegisterExtractElements(GatheredScalars, ExtractMask);
7636-
SmallVector<Value *> IgnoredVals;
7637-
if (UserIgnoreList)
7638-
IgnoredVals.assign(UserIgnoreList->begin(), UserIgnoreList->end());
76397636

76407637
bool Resized = false;
76417638
if (Value *VecBase = Estimator.adjustExtracts(
@@ -10184,9 +10181,6 @@ ResTy BoUpSLP::processBuildVector(const TreeEntry *E, Args &...Params) {
1018410181
// Check for gathered extracts.
1018510182
ExtractShuffle =
1018610183
tryToGatherSingleRegisterExtractElements(GatheredScalars, ExtractMask);
10187-
SmallVector<Value *> IgnoredVals;
10188-
if (UserIgnoreList)
10189-
IgnoredVals.assign(UserIgnoreList->begin(), UserIgnoreList->end());
1019010184
bool Resized = false;
1019110185
if (Value *VecBase = ShuffleBuilder.adjustExtracts(E, ExtractMask))
1019210186
if (auto *VecBaseTy = dyn_cast<FixedVectorType>(VecBase->getType()))

0 commit comments

Comments
 (0)