Only use a PtrToInt's source pointer as an available pointer value when its pointer type exactly matches the inttoptr target type. This prevents creating an invalid bitcast between differing address spaces during foldIntegerTypedPHI.
Only use a PtrToInt's source pointer as an available pointer value when its pointer type exactly matches the inttoptr target type. This prevents creating an invalid bitcast between differing address spaces during foldIntegerTypedPHI.