Fix 'unused-lambda-capture' gcc warning. NFCI.

This commit is contained in:
Simon Pilgrim 2022-09-27 15:15:43 +01:00
parent 1b7089fe67
commit ef89409a59
1 changed files with 1 additions and 1 deletions

View File

@ -6075,7 +6075,7 @@ InstructionCost BoUpSLP::getEntryCost(const TreeEntry *E,
bool NeedToShuffleReuses = !E->ReuseShuffleIndices.empty();
// FIXME: it tries to fix a problem with MSVC buildbots.
TargetTransformInfo &TTIRef = *TTI;
auto &&AdjustExtractsCost = [this, &TTIRef, CostKind, VL, VecTy,
auto &&AdjustExtractsCost = [this, &TTIRef, CostKind, VL,
VectorizedVals, E](InstructionCost &Cost) {
ScalarizationOverheadBuilder ScalarizationCost;
SmallPtrSet<Value *, 4> CheckedExtracts;