LLVM and backend


I have found the LLVM-project and hope it can be useful for me in my work.

There is a processor with a simple assembly code (http://hilscher.com/ xPEC- processor).

The task is that I need a “translator” from C/C++ to native assembly code.

And understand, that I need to write a backend specifying my target (convertion a llvm-IR code to assembly).

Can you help, suggest to start from?

Best regards,

Rudskyy Artem

Hi Rudskyy,

This is a webpage explaining how to write a backend:


It would also be good to peruse the other LLVM docs to get a feel for how it all works: