* Add a link to the pattern-matching codegen docs
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 17 May 2005 02:33:03 +0000 (02:33 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 17 May 2005 02:33:03 +0000 (02:33 +0000)
* Tersify wording

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22099 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMBackend.html

index abf91feb8a87de0dfd53f889325c8818fa734513..c215fc62a3f347062f76252bfa6c204d62254307 100644 (file)
@@ -110,13 +110,15 @@ step can be almost automated.</li>
 </ul>
 
 <p>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: <tt>lib/Target/*/*ISelPattern.cpp</tt>.  The former
-method for writing instruction selectors (<b>not</b> recommended) is
-encapsulated in <tt>lib/Target/*/*ISelSimple.cpp</tt>, which are
-<tt>InstVisitor</tt>-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.</p>
+recommended method is the <a
+href="CodeGenerator.html#instselect">pattern-matching instruction selector</a>,
+examples of which you can see in other targets:
+<tt>lib/Target/*/*ISelPattern.cpp</tt>.  The former method for writing
+instruction selectors (<b>not</b> recommended for new targets) is evident in
+<tt>lib/Target/*/*ISelSimple.cpp</tt>, which are <tt>InstVisitor</tt>-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.</p>
 
 <p>To create a JIT for your platform:</p>