From: Chris Lattner
In general, you want to follow the format of X86 or PowerPC (in -lib/Target).
+In general, you want to follow the format of SPARC, X86 or PowerPC (in +lib/Target). SPARC is the simplest backend, and is RISC, so if +you're working on a RISC target, it is a good one to start with.
To create a static compiler (one that emits text assembly), you need to implement the following: