Reapply: [MemCpyOpt] implement single BB stack-move optimization which unify the static unescaped allocas This reverts commit 20771802.