Skip to content

Building an LLVM Backend for MIPS

Build a backend for LLVM from scratch!

Build your first backend

Build your first LLVM backend in a weekend! Find every step lucidly explained in the pages that follow.

TableGen patterns

Understand how to define patterns in TableGen for instruction selection without guesswork or having to read the source code (although you probably should, lest I’ve missed something).