From b6d38fc0f63a1cb1bb7cecca0b01c9f7f69aab92 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 17 May 2005 02:33:03 +0000 Subject: [PATCH] * Add a link to the pattern-matching codegen docs * Tersify wording llvm-svn: 22099 --- llvm/docs/WritingAnLLVMBackend.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/llvm/docs/WritingAnLLVMBackend.html b/llvm/docs/WritingAnLLVMBackend.html index abf91feb8a87..c215fc62a3f3 100644 --- a/llvm/docs/WritingAnLLVMBackend.html +++ b/llvm/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: