Adding/porting a backend/architecture to LLVM
After finally managing to port an architecture i thought i’d share the steps as there isnt a clear or simple guide on adding your own backend to LLVM. It should be noted that at this time of writing the LLVM documentation at llvm.org is outdated (also mentioned on their website). Assuming you have your architecture code ready there are a few files needed for LLVM to detect, compile and use your backend. It is also recommended to look at other Read more
