[LLVMdev] Dynamically loading native code generated from LLVM IR
baris.aktemur at ozyegin.edu.tr
Fri Oct 12 07:07:06 PDT 2012
> The JIT sounds like it does almost exactly what you want. LLVM's JIT
> isn't a classical lightweight, dynamic one like you'd see for
> memory, take care of the relocations for you and then jump into it (or
> provide you with a function-pointer). Is there any other reason you
> want to avoid it?
Based on the experiments I ran, JIT version runs significantly slower than the code compiled to native. But according to your explanation, this shouldn't have happened. I wonder why I witnessed the performance difference.
More information about the llvm-dev