[LLVMdev] Running a pass during JIT
baldrick at free.fr
Mon Dec 5 00:23:07 PST 2011
> I would like to run a pass that I have wrote during the JIT (lli). But LLVM does
> not seem to have such an option. I can't even call standard LLVM's passes (for
> exmple, -adce). I have also tried to use lli -load=<path to the .so file of my
> pass>. But that won't help either.
> Anyway, is there a way do to that?
you can run your pass using opt then run lli on the result.
More information about the llvm-dev