[MemCpyOpt] move SrcAlloca to the entry if transformation is performed (#67226)
This is fixup for https://github.com/llvm/llvm-project/pull/66618#discussion_r1328523770 . This transformation checks whether allocas are static, if the transformation is performed. This patch moves the SrcAlloca to the entry of the BB when the optimization performed.
parent
2379432c
Please register or sign in to comment