[llvm-dev] llvm IR to C/C++ conversion

Jeremy Lakeman via llvm-dev llvm-dev at lists.llvm.org
Thu May 12 18:46:03 PDT 2016

Skimming through the kaleidoscope tutorial should give you enough
clues on the "right" way to build IR using the LLVM C++ API's.

The cpp back end was removed because it had been broken for some time,
and didn't generate nice code anyway.

On Fri, May 13, 2016 at 4:03 AM, Abhishek Kumar via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hello
> I am a beginner in llvm. In my one of the projects I need to convert llvm IR
> back into C/C++. I read on stackoverflow that llvm has discontinued this
> support. Can someone please explain me what are some drawbacks of such a
> conversion and can I use the old backend code safely with current versions
> of llvm to convert IR into C or if there is some other safe way to achieve
> so?
> Thanks
> Abhishek Kumar
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

More information about the llvm-dev mailing list