[CodeGenPrepare] Use dyn_cast result to check for null pointers
Simplifies logic and helps the static analyzer correctly check for nullptr dereferences
Please register or sign in to comment
Simplifies logic and helps the static analyzer correctly check for nullptr dereferences