mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 22:30:12 +00:00
[SLPVectorizer] Prefer auto over explicit type for VL0, NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2ca4715d25
commit
e2d706b202
@ -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…
x
Reference in New Issue
Block a user