[llvm-commits] LLVM JIT Adaptive Compilation Patch
Evan Cheng
evan.cheng at apple.com
Tue Jun 28 15:08:57 PDT 2011
I have mixed feeling about this patch. On one hand, having some infrastructure in place for adaptive JIT is goodness. However, the current ExecutionEngine pre-dates MC JIT and it is heading towards a major change. For this reason, I'd prefer not to take patches that extend / changes EE interface at this time.
Evan
On Jun 23, 2011, at 7:32 PM, Xin Tong Utoronto wrote:
> One of the current drawbacks of the LLVM JIT is the lack of an adaptive compilation system. All the non-adaptive bits are already there in LLVM: optimizing compiler with the different types of instruction selectors, register allocators, preRA schedulers, etc. and a full set of optimizations changeable at runtime. What's left is a system that can keep track of and dynamically look-up the hotness of methods and re-compile with more expensive optimizations as the methods are executed over and over. This should improve program startup time and execution time and will bring great benefits to all ported languages that intend to use LLVM JIT as one of the execution methods.
> The implementation of the adaptive compilation framework is one of the Google Summer of Code 2011 project (http://www.google-melange.com/gsoc/project/google/gsoc2011/timexerox/8001). This patch is intended to provide the basic infrastructure for the adaptive compilation framework. Code for specific platforms are currently being developed. This patch is generate against the LLVM trunk and using GIT.
>
> --
> Kind Regards
>
> Xin Tong
> <adaptivecompilation.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110628/9bb62384/attachment.html>
More information about the llvm-commits
mailing list