Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment