Implement global merge optimization for global variables.