[LLVMdev] "Multithreaded LLVM" in "Writing an LLVM Pass"

David Chisnall David.Chisnall at cl.cam.ac.uk
Tue Oct 9 01:02:18 PDT 2012

On 9 Oct 2012, at 08:55, 陳韋任 (Wei-Ren Chen) wrote:

>  No one has done it yet? From [1], it seems parallel JIT is workable.
> Or I just misread the question?

Your citation refers to a proprietary program that was presented at EuroLLVM - their changes are not upstream.  They are running multiple MCJIT instances in parallel, but they are completely independent - different modules and different LLVMContexts, and so passes are completely independent (unless they do something silly like have some mutable static variables).  This is a completely unrelated problem.


More information about the llvm-dev mailing list