diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-12 16:18:18 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-01-13 11:10:49 +0000 |
commit | 37ebec68a828e205137c9202da16804b2736e5d5 (patch) | |
tree | b228c7c0d7fe7dc6e21bdb3d9c679944bc0337d5 /llvm/lib/Object/TapiFile.cpp | |
parent | 2bc57d85ebf244f19a3046295b58eb8c667f947d (diff) | |
download | llvm-37ebec68a828e205137c9202da16804b2736e5d5.zip llvm-37ebec68a828e205137c9202da16804b2736e5d5.tar.gz llvm-37ebec68a828e205137c9202da16804b2736e5d5.tar.bz2 |
[MIPS] Mips16DAGToDAGISel::selectAddr - Use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointer is always dereferenced immediately below, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions