SuccessChanges

Summary

  1. [DebugInfo] Don't dereference a dyn_cast<PDBSymbolData> result. NFCI. (details)
  2. [OpenMP] Fix OMPClauseReader::readClause() uninitialized variable (details)
  3. InterleavedLoadCombine - merge isa<> and dyn_cast<> duplicates. NFCI. (details)
  4. [LoadStoreVectorizer] vectorizeLoadChain - ensure we find a valid Type (details)
  5. [GlobalISel] findGISelOptimalMemOpLowering - remove dead initalization. (details)
Commit 4f234aaf2c9801364d1855dc82466c4a307360cb by llvm-dev
[DebugInfo] Don't dereference a dyn_cast<PDBSymbolData> result. NFCI.
The static analyzer is warning about a potential null dereference - but
as we're in DataMemberLayoutItem we should be able to guarantee that the
Symbol is a PDBSymbolData type, allowing us to use cast<PDBSymbolData> -
and if not assert will fire for us.
llvm-svn: 371933
The file was modifiedllvm/lib/DebugInfo/PDB/UDTLayout.cpp
Commit 556fbfec1359694290fe9798fa84a50033370b21 by llvm-dev
[OpenMP] Fix OMPClauseReader::readClause() uninitialized variable
warning. NFCI.
Fixes static analyzer uninitialized variable warning for the OMPClause -
the function appears to cover all cases, but I've added an assertion to
make sure.
llvm-svn: 371934
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 2b4ace3f2990a8e035c1bfd3f6b0dabc143db0c6 by llvm-dev
InterleavedLoadCombine - merge isa<> and dyn_cast<> duplicates. NFCI.
Silence static analyzer null dereference warning of
*dyn_cast<BinaryOperator> by merging with the isa<BinaryOperator> above.
llvm-svn: 371935
The file was modifiedllvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
Commit 4e46ea3946cb12a165574a973f5b928fc692c850 by llvm-dev
[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
The file was modifiedllvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
Commit a8a4953fdf3c3b1edfcf25f14ac1e6e49ab32cb7 by llvm-dev
[GlobalISel] findGISelOptimalMemOpLowering - remove dead initalization.
NFCI.
Fixes static analyzer warning that "Value stored to 'NewTySize' during
its initialization is never read".
llvm-svn: 371937
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp