[LLVMdev] C back-end differences

Mohd-Hanafiah Abdullah napi at axiomsol.com
Tue May 8 22:05:58 PDT 2007


On Tue, 2007-05-08 at 11:58 -0700, Bill wrote:
> On 5/8/07, Mohd-Hanafiah Abdullah <napi at axiomsol.com> wrote:
> > How does the C back-end of LLVM differ from the one in gcc2c developed
> > by SUN several years ago?
> >
> Hi Napi,
> 
> For one, it converts LLVM's bytecode to C instead of GCC's RTL. It's
> also under a different license.

Hi Bill:

Would it be easier to convert from LLVM's bytecode to C as opposed to
from RTL?  What about the readability of the produced C code.  I would
think since RTL maintains a structure that is directly inherited from
the high-level language structure it would be less difficult to turn it
into some C code that is relatively more readable, as compared to
synthesizing C code from the low-level bytecode.  I stand corrected.

Thanks.

Napi




More information about the llvm-dev mailing list