[LLVMdev] C Backend Ressurected
Bruce Hoult
bruce at hoult.org
Mon Aug 18 19:02:45 PDT 2014
I don't know how good it is, but the applications seem obvious. e.g.
compiling programs in any of a number of original formats to run natively
on CPUs that have a working simple C compiler (maybe only K&R or C89) but
don't have an LLVM back end.
The source program could be in modern C, C++, or any other high level
language or assembly language with a translator to LLVM.
On Tue, Aug 19, 2014 at 1:40 PM, Jun Koi <junkoi2004 at gmail.com> wrote:
>
>
>
> On Mon, Aug 18, 2014 at 9:18 PM, Carback, Richard T., III <
> rcarback at draper.com> wrote:
>
>> Hi All,
>>
>>
>>
>> 2 of my summer interns (Aimee Dipietro and Greg Simpson) used their time
>> over the summer to resurrect the LLVM C Backend:
>>
>>
>>
>> https://github.com/draperlaboratory/llvm-cbe
>>
>>
>>
>> Improvements include recovery of simple for/while loops (instead of
>> goto), better variable naming, inline asm support, and making it work on a
>> more recent version of llvm. I believe they used the repository here as a
>> starting point:
>>
>>
>>
>> https://github.com/glycerine/llvm/tree/cbe_revival
>>
>>
>>
>> Feedback is welcomed. I would like to see this feature put back into
>> LLVM, and any help on how to make that happen would be appreciated.
>>
>
> would you mind explaining what this backend is for, and its applications?
>
> i guess it is to get the C code at the output of the backend, but dont get
> why we need it.
>
> thanks,
> Jun
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140819/46632a32/attachment.html>
More information about the llvm-dev
mailing list