diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-05-06 10:25:11 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-05-06 10:25:11 +0000 |
| commit | 97fbc2abfeceabf05cc339b5079d96f25fa380d7 (patch) | |
| tree | 0b3d52729de303e3baa7956585c46d2b3babcc5b /llvm/unittests/Support/AnnotationsTest.cpp | |
| parent | 9fb22b2c8660e75844b50b086227eecc8ee9fb13 (diff) | |
| download | bcm5719-llvm-97fbc2abfeceabf05cc339b5079d96f25fa380d7.tar.gz bcm5719-llvm-97fbc2abfeceabf05cc339b5079d96f25fa380d7.zip | |
[LoadStoreVectorizer] vectorizeStoreChain - ensure we find a store type.
Properly initialize store type to null then ensure we find a real store type in the chain.
Fixes scan-build null dereference warning and makes the code clearer.
llvm-svn: 360031
Diffstat (limited to 'llvm/unittests/Support/AnnotationsTest.cpp')
0 files changed, 0 insertions, 0 deletions

