aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WritingAnLLVMPass.html
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-10-12 14:46:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-10-12 14:46:08 +0000
commit5fb9d7e8d4fe8ec08d086e07c83c8c5952cf071a (patch)
tree611b8930c912c03403d721f81e51788a42c125df /docs/WritingAnLLVMPass.html
parentb26e279e163669d34e45697b2ebe0e1003b7d8f8 (diff)
downloadexternal_llvm-5fb9d7e8d4fe8ec08d086e07c83c8c5952cf071a.zip
external_llvm-5fb9d7e8d4fe8ec08d086e07c83c8c5952cf071a.tar.gz
external_llvm-5fb9d7e8d4fe8ec08d086e07c83c8c5952cf071a.tar.bz2
Documentation: Perform automated correction of common typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMPass.html')
-rw-r--r--docs/WritingAnLLVMPass.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index c9a7edb..f531a74 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -453,7 +453,7 @@ available, from the most general to the most specific.</p>
<p>When choosing a superclass for your Pass, you should choose the <b>most
specific</b> class possible, while still being able to meet the requirements
listed. This gives the LLVM Pass Infrastructure information necessary to
-optimize how passes are run, so that the resultant compiler isn't unneccesarily
+optimize how passes are run, so that the resultant compiler isn't unnecessarily
slow.</p>
</div>
@@ -492,7 +492,7 @@ invalidated, and are never "run".</p>
href="http://llvm.org/doxygen/classllvm_1_1ModulePass.html">ModulePass</a></tt>"
class is the most general of all superclasses that you can use. Deriving from
<tt>ModulePass</tt> indicates that your pass uses the entire program as a unit,
-refering to function bodies in no predictable order, or adding and removing
+referring to function bodies in no predictable order, or adding and removing
functions. Because nothing is known about the behavior of <tt>ModulePass</tt>
subclasses, no optimization can be done for their execution.</p>