[LLVMdev] Initial thoughts on an LLVM backend for N-address generic assembly

nkavv at physics.auth.gr nkavv at physics.auth.gr
Thu Jan 24 08:23:42 PST 2013


Hi Ahmed

> Hi Nikolaos,
>
> The C backend (that is by the way deprecated) is the exception rather
> than the rule: most targets use TableGen extensively (look at all the
> lib/Target/**/*.td).

Thanks for the tip, so I remove this from my short list.

> As for your other questions, I'm no expert, but you might want to take
> a look at the available tutorials
> (http://llvm.org/docs/WritingAnLLVMBackend.html and
> http://jonathan2251.github.com/lbd/).

I also had an eye on this tutorial. It seems to go to extensive detail  
for a backend of the "CPU0" architecture which appears to be a  
reasonable sample RISC.

PTX is also interesting since it is a close fit due to the fact that  
it is a virtual machine target, as NAC (N-Address Code).

Best regards
Nikolaos Kavvadias






More information about the llvm-dev mailing list