How to build a llvm compiler backend for a specific target

Hello everyone,

The target is designed by our company. It has general instructions
and certain special instructions for audio/video application.
It’s my first time to learn comipler, so I really appreciate your help.
What materials should i study step by step to build a llvm compiler
backend?

Thanks

Hi,

If you are new to compilers in general and LLVM in particular, I would suggest having a look at the documention (http://www.llvm.org/docs/) : you will find there several guides / overviews / tutorials.

The second step would be to have a look at Anton Korobeynikov’s presentation “Building a backend in 24 hours” :

http://llvm.org/devmtg/2009-10/Korobeynikov_BackendTutorial.pdf

Best regards,