[SCEVExpander] GetOptimalInsertionPointForCastOf(): gracefully handle Constant's
I guess this case hasn't come up thus far, and i'm not sure if it can really happen for the existing usages, thus no test in *this* commit. But, the following commit adds test coverage, there we'd expirience a crash without this fix.
Loading
Please sign in to comment