I am trying to write an LLVM backend for my custom processor that I recently developed.
I tried to follow the official tutorial at http://llvm.org/docs/WritingAnLLVMBackend.html
But it is so vague, so incomplete and blurry, that I could not fulfill it.
Then I started looking for other textbooks online, and they all suffer from the same symptoms of the original textbook. It seems that the authors take a lot of preliminary readings and write their textbooks without the necessary preliminary explanations.
How can I find a tutorial or anything that can set me up to write a functional backend in LLVM?
- Update: I see two voices and two voices. Positive voices say that my question is not related to programming. I wonder how the moderators came to the conclusion that writing a compiler is not related to programming.
source share