Unverified Commit 2a207128 authored by Kohei Asano's avatar Kohei Asano Committed by GitHub
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment