From: Misha Brukman Date: Tue, 17 May 2005 02:33:03 +0000 (+0000) Subject: * Add a link to the pattern-matching codegen docs X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d985a1ca699ee51ca68ee20b11ea06038b17d467;p=oota-llvm.git * Add a link to the pattern-matching codegen docs * Tersify wording git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22099 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html index abf91feb8a8..c215fc62a3f 100644 --- a/docs/WritingAnLLVMBackend.html +++ b/docs/WritingAnLLVMBackend.html @@ -110,13 +110,15 @@ step can be almost automated.

You also need to write an instruction selector for your platform. The -recommended method is the pattern-matching instruction selector. You can see -examples in other targets: lib/Target/*/*ISelPattern.cpp. The former -method for writing instruction selectors (not recommended) is -encapsulated in lib/Target/*/*ISelSimple.cpp, which are -InstVisitor-based translators, generating code for an LLVM instruction -at a time. Creating an instruction selector is perhaps the most time-consuming -part of creating a back-end.

+recommended method is the pattern-matching instruction selector, +examples of which you can see in other targets: +lib/Target/*/*ISelPattern.cpp. The former method for writing +instruction selectors (not recommended for new targets) is evident in +lib/Target/*/*ISelSimple.cpp, which are InstVisitor-based +translators, generating code for an LLVM instruction at a time. Creating an +instruction selector is perhaps the most time-consuming part of creating a +back-end.

To create a JIT for your platform: