aboutsummaryrefslogtreecommitdiff
path: root/docs/WritingAnLLVMBackend.html
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-05-17 02:33:03 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-05-17 02:33:03 +0000
commitd985a1ca699ee51ca68ee20b11ea06038b17d467 (patch)
treef50af47affabf7dbe26b720a7537430688434e6b /docs/WritingAnLLVMBackend.html
parent4937c9db28245bf5a24c07802c1e09365e25347c (diff)
* 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
Diffstat (limited to 'docs/WritingAnLLVMBackend.html')
-rw-r--r--docs/WritingAnLLVMBackend.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html
index abf91feb8a..c215fc62a3 100644
--- a/docs/WritingAnLLVMBackend.html
+++ b/docs/WritingAnLLVMBackend.html
@@ -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>