Commit f991a167 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[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.
parent 3f9e2e17
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment