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:
parent
66fcbcafce
commit
4f2a1f0cb0
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user