From 8e9f2ceea37c38c0394af64355966388834a9b86 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 24 Apr 2006 16:34:45 +0000 Subject: [PATCH] Suggest looking at the SPARC backend. How weird is that?? :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27957 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMBackend.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html index c487bc63571..8826ee7706b 100644 --- a/docs/WritingAnLLVMBackend.html +++ b/docs/WritingAnLLVMBackend.html @@ -61,8 +61,9 @@ convert the LLVM representation to machine assembly code or other languages.

-

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: