[LV] Remove unused variable. NFC.

This commit is contained in:
Benjamin Kramer 2022-07-22 17:43:02 +02:00
parent ad34f1dba8
commit 5a445395e4
1 changed files with 0 additions and 1 deletions

View File

@ -6779,7 +6779,6 @@ void LoopVectorizationCostModel::setCostBasedWideningDecision(ElementCount VF) {
// in each unrolled VF) and can thus handle scalable loads too. For
// scalable stores, we use a scatter if legal. If not, we have no way
// to lower (currently) and thus have to abort vectorization.
InstructionCost Cost;
if (isa<StoreInst>(&I) && VF.isScalable()) {
if (isLegalGatherOrScatter(&I, VF))
setWideningDecision(&I, VF, CM_GatherScatter,