[LLVMdev] Newbie Enquiry

Peter Ashford peter at siliconcoach.com
Wed Aug 18 15:48:37 PDT 2004


Misha Brukman wrote:

>On Thu, Aug 19, 2004 at 10:35:02AM +1200, Peter Ashford wrote:
>  
>
>>Does that mean the front end must decide between emiting bytecode for 
>>interpretting/JITing and LLVM assembly for native compilation?  You 
>>can't emit the one kind of output for either end target (interpretted 
>>bytecode or native compilation)?
>>    
>>
>
>Not at all, there's only one version of LLVM IR, but it can appear in
>binary bytecode or textual form (human-readable).  They have a
>one-to-one correlation.
>
>There is an assembler (llvm-as) and disassembler (llvm-dis) for
>translating between the two formats.
>
>  
>
Ah, great!  That does mean that LLVM does what I was hoping for.  Thanks 
for the info :o)




More information about the llvm-dev mailing list