[PATCH] D37939: [Mem2Reg] Also handle memcpy

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 10:49:00 PDT 2017


chandlerc added a comment.

In https://reviews.llvm.org/D37939#875329, @loladiro wrote:

> Hi @efriedma,
>
> this is the julia pass pipeline (https://github.com/JuliaLang/julia/blob/master/src/jitlayers.cpp#L148). IIRC the original list of passes came from VMKit,
>  but the pass list was adjusted as needed over the years.


I would still suggest just switching to SROA. You can (and should) run it quite early in the pipeline, but that seems much more likely to be a good long term solution.

I would look at the current early pass pipeline in LLVM for ideas about an effective sequencing here.


https://reviews.llvm.org/D37939





More information about the llvm-commits mailing list