summaryrefslogtreecommitdiffstats
path: root/llvm/docs
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
commitb6d38fc0f63a1cb1bb7cecca0b01c9f7f69aab92 (patch)
tree4cacf703c9e094e246d77a38b273ff9d582dd390 /llvm/docs
parente62ec45887142a0048f679bf91fefcc81a1e3ed0 (diff)
downloadbcm5719-llvm-b6d38fc0f63a1cb1bb7cecca0b01c9f7f69aab92.tar.gz
bcm5719-llvm-b6d38fc0f63a1cb1bb7cecca0b01c9f7f69aab92.zip
* Add a link to the pattern-matching codegen docs
* Tersify wording llvm-svn: 22099
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/WritingAnLLVMBackend.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/llvm/docs/WritingAnLLVMBackend.html b/llvm/docs/WritingAnLLVMBackend.html
index abf91feb8a8..c215fc62a3f 100644
--- a/llvm/docs/WritingAnLLVMBackend.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud