diff options
author | Dinar Temirbulatov <dtemirbulatov@gmail.com> | 2017-09-14 04:28:35 +0000 |
---|---|---|
committer | Dinar Temirbulatov <dtemirbulatov@gmail.com> | 2017-09-14 04:28:35 +0000 |
commit | df0b8438758478204156b74195787a9e2b35c23a (patch) | |
tree | 6093efddd7d4f99788b6a2e4a09a6f7a8db1a422 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | 9a4c73e20c9a64e6792c1068689e40e30ce550bf (diff) | |
download | bcm5719-llvm-df0b8438758478204156b74195787a9e2b35c23a.tar.gz bcm5719-llvm-df0b8438758478204156b74195787a9e2b35c23a.zip |
[SLPVectorizer] Prefer auto over explicit type for VL0, NFCI.
llvm-svn: 313228
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index dd8c4161e8e..9e8c4b6799a 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -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)) { |