[llvm-commits] LLVM JIT Adaptive Compilation Patch

Xin Tong Utoronto x.tong at utoronto.ca
Tue Jun 28 15:33:21 PDT 2011


Most of the changes in this patch are within JIT.cpp and JIT.hpp. Only a few
variables are added to ExecutionEngine . I am now sure how this is going to
affect MC JIT. Also, when is the major change for the MC JIT going to be
completed ?

Xin


On Tue, Jun 28, 2011 at 6:08 PM, Evan Cheng <evan.cheng at apple.com> wrote:

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


-- 
Kind Regards

Xin Tong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110628/94e86ffd/attachment.html>


More information about the llvm-commits mailing list