diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-06-13 11:19:24 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-06-13 11:24:58 +0100 |
commit | f991a16735c6a032f6b3ae0817a421ef94d705ca (patch) | |
tree | c1f5545b06862f7aaeb78d8dd81f099dee2102e3 /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | 3f9e2e179a52eb50a2bcff148a5f351a4eddcb37 (diff) | |
download | llvm-f991a16735c6a032f6b3ae0817a421ef94d705ca.zip llvm-f991a16735c6a032f6b3ae0817a421ef94d705ca.tar.gz llvm-f991a16735c6a032f6b3ae0817a421ef94d705ca.tar.bz2 |
[CodeGen] ExpandLargeFpConvert - don't dereference a dyn_cast result
dyn_cast is allowed to return NULL - use cast<> to assert that the cast type is valid
Fixes static analysis warning.
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions