[LLVMdev] Can WriteBitcodeToFile be parallelized?

Sean Silva chisophugis at gmail.com
Mon Apr 7 11:20:23 PDT 2014


You should do some measurement and try to find the bottleneck. Without
knowing the bottleneck it's hard to know whether threading will even speed
things up.

-- Sean Silva


On Mon, Mar 31, 2014 at 3:35 PM, Yuri <yuri at rawbw.com> wrote:

> This function (understandably) takes quite a long time, because it has to
> go through each function in module and write its binary.
> But it probably can be parallelized if different threads would write
> binaries separately, and then merge them together.
>
> Is this implemented or planned?
>
> Yuri
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140407/2f7ffcbb/attachment.html>


More information about the llvm-dev mailing list