[LoadStoreVectorizer] vectorizeLoadChain - ensure we find a valid Type down the load...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 15 Sep 2019 16:44:35 +0000 (16:44 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 15 Sep 2019 16:44:35 +0000 (16:44 +0000)
commit4e46ea3946cb12a165574a973f5b928fc692c850
tree99a2465f2bde29275f980e85bd2f3e15d1d8bf35
parent2b4ace3f2990a8e035c1bfd3f6b0dabc143db0c6
[LoadStoreVectorizer] vectorizeLoadChain - ensure we find a valid Type down the load chain. NFCI.

Silence static analyzer uninitialized variable warning by setting the LoadTy to null and then asserting we find a real value.

llvm-svn: 371936
llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp