aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-10-08 19:03:32 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-10-08 19:04:30 +0100
commit8f0658ae67da6a115daac5587cca42b2f47a2f6f (patch)
tree24522c3a9fdb90ab8349e6b5f93d97c2b1218c9e /llvm/lib/CodeGen/BasicBlockSections.cpp
parent119a143699d03a27686ca4377afb0b60e0985031 (diff)
downloadllvm-8f0658ae67da6a115daac5587cca42b2f47a2f6f.zip
llvm-8f0658ae67da6a115daac5587cca42b2f47a2f6f.tar.gz
llvm-8f0658ae67da6a115daac5587cca42b2f47a2f6f.tar.bz2
[Transforms] CodeExtractor::verifyAssumptionCache - don't dereference a dyn_cast<>. NFCI.
Use cast<> as we immediately dereference the pointer afterwards - cast<> will assert if we fail. Prevents clang static analyzer warning that we could deference a null pointer.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions