[SLPVectorizer] Prefer auto over explicit type for VL0, NFCI.

llvm-svn: 313228
This commit is contained in:
Dinar Temirbulatov 2017-09-14 04:28:35 +00:00
parent 9a4c73e20c
commit df0b843875
1 changed files with 1 additions and 1 deletions

View File

@ -1459,7 +1459,7 @@ void BoUpSLP::buildTree_rec(ArrayRef<Value *> VL, unsigned Depth,
// Check that all of the users of the scalars that we want to vectorize are
// schedulable.
Instruction *VL0 = cast<Instruction>(S.OpValue);
auto *VL0 = cast<Instruction>(S.OpValue);
BasicBlock *BB = VL0->getParent();
if (!DT->isReachableFromEntry(BB)) {