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?
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
>. 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.