Related articles |
---|
Compiler Design + feedback herron.philip@googlemail.com (Philip Herron) (2009-04-21) |
Re: Compiler Design + feedback cfc@shell01.TheWorld.com (Chris F Clark) (2009-04-21) |
Re: Compiler Design + feedback herron.philip@googlemail.com (Philip Herron) (2009-04-22) |
Re: Compiler Design + feedback kym@svalbard.freeshell.org (russell kym horsell) (2009-04-23) |
Re: Compiler Design + feedback pertti.kellomaki@tut.fi (Pertti Kellomaki) (2009-04-24) |
From: | Pertti Kellomaki <pertti.kellomaki@tut.fi> |
Newsgroups: | comp.compilers |
Date: | Fri, 24 Apr 2009 15:44:16 +0300 |
Organization: | Compilers Central |
References: | 09-04-044 09-04-046 09-04-048 |
Keywords: | GCC |
Posted-Date: | 24 Apr 2009 08:52:17 EDT |
Philip Herron wrote:
> I read that gcc's intermediate language is gimple and this is how llvm
> plugs into gcc. Is this the main approach onto plugging in custom
> front ends into gcc's back-end or have a read it wrong?
You probably have it the wrong way around. The way gcc and LLVM interact
is that llvm-gcc produces files that contain LLVM bitcode (the LLVM IR).
LLVM then reads the bitcode files and does optimization and code
generation. In other words, neither LLVM or gcc plugs into each other.
--
Petrti
Return to the
comp.compilers page.
Search the
comp.compilers archives again.