[SLP]Remove `else` after `return`, NFC.`

This commit is contained in:
Alexey Bataev 2021-04-01 05:32:18 -07:00
parent 48e3da1351
commit ce98a0556a
1 changed files with 1 additions and 2 deletions

View File

@ -5624,7 +5624,6 @@ unsigned BoUpSLP::getVectorElementSize(Value *V) {
if (auto *Store = dyn_cast<StoreInst>(V)) { if (auto *Store = dyn_cast<StoreInst>(V)) {
if (auto *Trunc = dyn_cast<TruncInst>(Store->getValueOperand())) if (auto *Trunc = dyn_cast<TruncInst>(Store->getValueOperand()))
return DL->getTypeSizeInBits(Trunc->getSrcTy()); return DL->getTypeSizeInBits(Trunc->getSrcTy());
else
return DL->getTypeSizeInBits(Store->getValueOperand()->getType()); return DL->getTypeSizeInBits(Store->getValueOperand()->getType());
} }