1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

[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 66fcbcafce
commit 4f2a1f0cb0

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)) {