[InstCombine] Handle different pointer types when folding gep of null
The source pointer type is not necessarily the same as the result pointer type, so we can't simply return the original null pointer, it might be a different one.
Loading
Please sign in to comment