Skip to content
therealadam edited this page Sep 13, 2010 · 2 revisions
  • The build scripts enforce a convention on naming certain files in your backend. The following files must adhere to the naming schema where TARGET is the case-sensitive name of your backend (PIC16, AVR, Sparc, etc.): TARGETGenRegisterNames.td, TARGETGenRegisterInfo.td, TARGETGenInstrNames.td, TARGETGenInstrInfo.td, TARGETGenAsmWriter.td, TARGETGenAsmWriter1.td, TARGETGenCodeEmitter.td, TARGETGenDAGISel.td, TARGETGenFastISel.td, TARGETGenSubtarget.td, TARGETGenCallingConv.td
  • Once you’ve built LLVM with the AVR backend in it, you can make sure it worked by seeing if AVR appears in the target architectures. Run llc --help and look at the list that appears after ‘march’.
Clone this wiki locally