[LLVMdev] Creating an LLVM backend for a very small stack machine
Chris Lattner
clattner at apple.com
Sun Feb 22 22:18:25 PST 2009
On Feb 22, 2009, at 5:43 PM, Wesley J. Landaker wrote:
>
> I would love to see a Kalescope-like tutorial that goes step-by-step
> through
> making a backend. At the very least, I'll be documenting my
> adventure, so
> maybe once I know what I'm doing I can turn it into a tutorial.
Have you seen:
http://llvm.org/docs/WritingAnLLVMBackend.html
If you're targeting a stack machine, I'd strongly recommend not using
the llvm register allocators and just run you own custom stackifier
pass instead.
-Chris
More information about the llvm-dev
mailing list