[LLVMdev] bytecode cache

Adve, Vikram Sadanand vadve at illinois.edu
Thu Feb 17 11:31:25 PST 2011


It is possible and, since LLVM doesn't support self-modifying code at the IR level, this should not be particularly difficult.  It just hasn't been high on anybody's priority list so far.

--Vikram
Associate Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve



On Feb 17, 2011, at 12:00 PM, <llvmdev-request at cs.uiuc.edu> wrote:

> Message: 5
> Date: Wed, 16 Feb 2011 22:47:57 +0100
> From: Jochen Wilhelmy <j.wilhelmy at arcor.de>
> Subject: [LLVMdev] bytecode cache
> To: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> Message-ID: <4D5C460D.6010908 at arcor.de>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
> 
> Hi!
> 
> Is it possible to implement a byte code cache for a llvm-jit?
> This way the compile time occurs only once and the next time
> the compiled machine code can simply be loaded from disk.
> Of course care has to be taken with function pointers that are
> used as constants since they may change on the next run.
> 
> -Jochen





More information about the llvm-dev mailing list