enhance memcpyopt to merge a store and a subsequent