[SLPVectorizer] Remove null-pointer test. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 23 Jul 2019 10:51:43 +0000 (10:51 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 23 Jul 2019 10:51:43 +0000 (10:51 +0000)
commit87adcf8c470726869541483a47e7931874cb7312
tree2b6d0332c42130f17eaaa5716e5b04cf06a13877
parent739a93558f8c4b3ed0aeee48bba62a989e9212bd
[SLPVectorizer] Remove null-pointer test. NFCI.

cast<CallInst> shouldn't return null and we dereference the pointer in a lot of other places, causing both MSVC + cppcheck to warn about dereferenced null pointers

llvm-svn: 366793
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp