[LLVMdev] C back-end differences

Chris Lattner sabre at nondot.org
Fri May 11 23:38:34 PDT 2007


On Fri, 11 May 2007, me22 wrote:
> I'm not exactly sure how llvm-g++ works.  I think it goes through the
> standard gcc sequence (gimple, rtl, and such) but then outputs LLVM
> (http://llvm.org/docs/LangRef.html), which is the intermediate
> representation used by the rest of the chain.  To make an LLVM backend
> you would not need to deal with RTL and such at all.

llvm-g++ converts from trees to high-gimple to LLVM.  RTL is not involved.

LLVM also does have an MSIL backend, if you are interested in a JVM 
backend, it may be a starting point.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list