[LLVMdev] Using multiple ExecutionEngines for better parallelism?

Olivier Meurant meurant.olivier at gmail.com
Thu Oct 7 10:17:34 PDT 2010


Is is possible since LLVM 2.7 to create multiple ExecutionEngine in the same
process.

Olivier.


On Thu, Oct 7, 2010 at 6:41 PM, George Brewster <g at brewster.org> wrote:

> Hi,
> I'm working on an application that compiles using LLVM from multiple
> threads. Currently, I'm doing this using one ExecutionEngine, but I've
> observed that this does not seem to scale well past a couple cores. I'd
> like to be able to get as much parallelism as possible in the
> compilation, and was wondering about using one ExecutionEngine per thread.
> The only information I've found says this is not allowed, but the post
> is 2.5 years old, and it seems like threading in LLVM has come a long
> way since then. Has this changed, or is it still only possible to have
> one ExecutionEngine? Are there any other ways to increase the
> parallelism of LLVM compilation?
>
> Thanks,
> -George
> _______________________________________________
> 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/20101007/1b3aa35b/attachment.html>


More information about the llvm-dev mailing list