On Sunday, 15 September 2013 at 11:39:28 UTC, Sönke Ludwig wrote:
Am 15.09.2013 08:54, schrieb Nick Sabalausky:
But I could swear I've seen a "LLVM IR -> C" before...


I'm pretty sure that IR -> C just outputs C code that feeds LLVM with the original IR and not an equivalent of the IR itself. So it's usually no more useful than directly compiling to machine code for the target architecture.

That's the C++ backend you are talking about.

The C backend - which was defunct some time ago, no idea about its current state - actually generated a C code equivalent of the IR (with some limitations).

David

Reply via email to