[SCEVExpander] Minor cleanup in value reuse (NFC)
Use dyn_cast_or_null and convert one of the checks into an assertion. SCEV is a per-function analysis.
Loading
Please sign in to comment
Use dyn_cast_or_null and convert one of the checks into an assertion. SCEV is a per-function analysis.