[llvm-dev] Using the new pass manager for CodeGen

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 13 22:09:59 PDT 2019


[+Chandler, Master of Passes (dude who wrote the new pass manager and might
have some context on any ongoing work)]

On Thu, Jun 13, 2019 at 9:09 PM via llvm-dev <llvm-dev at lists.llvm.org>
wrote:

> Hi,
>
> I am looking into potentially porting CodeGen and some of the passes to
> using the new pass manager. Two questions:
>
> 1. Has anybody made an attempt in this direction already? Maybe I am
> missing a branch out there that has started on this already. From what I
> can tell, there is no work in-tree in CodeGen that is aware of the new pass
> manager besides some assembly utilities in BackendUtils.cpp. My initial
> thoughts in this direction were that there would need to be some new pass
> manager machinery, for example, things like
> FunctionToMachineFunctionPassAdaptor that handles what
> MachineFunctionPass::runOnFunction used to do, along with the associated
> AnalysisManager plumbing to understand units of MIR.
>
> 2. Are there any compile time improvements expected from porting CodeGen
> passes in the first place? As far as I can tell, the llc pass pipeline
> seems to be fairly well fixed in terms of phase ordering, and all the
> analyses are thrown out from opt anyway.
>
> Thanks,
> Charles
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190613/77f9aad3/attachment-0001.html>


More information about the llvm-dev mailing list