KhronosGroup/SPIRV-LLVM-Translator
View on GitHub[Coverity] Potential `nullptr` dereference
Open
#3,179 opened on May 16, 2025
buggood first issue
Repository metrics
- Stars
- (616 stars)
- PR merge metrics
- (PR metrics pending)
Description
See details at https://scan.coverity.com/projects/intel-llvm?tab=overview as CID 490176:
If we don't expect the cast to fail, then we should use cast instead of dyn_cast. The former contains an assertion instead of runtime check