[llvm-commits] Patch, enable reusing a module pass manager across multiple modules

Eric Christopher echristo at gmail.com
Tue Nov 13 18:26:36 PST 2012


I don't understand what you're saying here.  We definitely do NOT want to
> consider multiple modules as part of a single translation unit.  It's a
> significant element of our use case that the modules should be entirely
> distinct.
>
> All we're trying to do here is save the setup time for constructing a
> PassManager (slow because it has to plan the pass pipeline) in a process
> that is going to compile many translation units during the process'
> lifetime.
>
>
Ah. And initialize/finalize are for setting up/tearing down between runs?
Sounds good, sorry for the noise - I figured I was reading something wrong
which is why I asked.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121113/8a3fe266/attachment.html>


More information about the llvm-commits mailing list