[LLVMdev] LLVM JIT Compilation Time vs Execution Time
Reid Kleckner
reid.kleckner at gmail.com
Mon Feb 28 07:38:25 PST 2011
Last I checked, JIT compilation was very expensive, and the majority
of that time went into codegen, ie instruction selection, register
allocation, and other kinds of lowering. For our uses, the overhead
of the target-independent optimizations was negligible compared to the
codegen time. However, using fast isel and fast regalloc slowed the
generated code down too much for it to be worth generating code in the
first place. Your mileage may vary, though, and I would encourage you
to do a fresh analysis.
Reid
On Mon, Feb 28, 2011 at 10:30 AM, Xin Tong Utoronto <x.tong at utoronto.ca> wrote:
> Do any of you have an idea as to what the Compilation Time vs Execution Time
> looks like in LLVM JIT with most aggressive optimizations on. Is adaptive
> compilation going to bring any benefits to the LLVM JIT ?
>
> --
> Kind Regards
>
> Xin Tong
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
More information about the llvm-dev
mailing list