[InstCombine] Check type compatibility in indexed load fold
This fold could use a rewrite to an offset-based implementation, but for now make sure it doesn't crash with opaque pointers.
Loading
Please sign in to comment
This fold could use a rewrite to an offset-based implementation, but for now make sure it doesn't crash with opaque pointers.