Cpu0 backend for llvm base on jonathan2251's lbd tutorial dev base on llvm:726d7b07fcde58c61743c45723c9b614911fe084 clone this project into llvm-project/llvm/lib/Target/Cpu0 and apply utils/0001-support-cpu0.patch on llvm then you can rebuild llvm get cpu0 backend