diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-11 16:37:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-11 16:37:02 +0000 |
commit | 8f652ebe8964c9668ff77e8998510d578fa9dac1 (patch) | |
tree | abb01bfc3c21fce017adc6410a9c01353db81c7e /docs/WritingAnLLVMPass.html | |
parent | 64a752f7c7cf160f2887d0a16d5922359832c9c2 (diff) | |
download | llvm-8f652ebe8964c9668ff77e8998510d578fa9dac1.tar.gz llvm-8f652ebe8964c9668ff77e8998510d578fa9dac1.tar.bz2 llvm-8f652ebe8964c9668ff77e8998510d578fa9dac1.tar.xz |
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMPass.html')
-rw-r--r-- | docs/WritingAnLLVMPass.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index eaa8606ccc..34e8cf6d76 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -102,7 +102,7 @@ </ol> <div class="doc_author"> - <p>Written by <a href="mailto:sabre@nondot.org">Chris Lattner</a>, + <p>Written by <a href="mailto:sabre@nondot.org">Chris Lattner</a> and <a href="mailto:jlaskey@apple.com">Jim Laskey</a></p> </div> @@ -1484,7 +1484,7 @@ allocator machine pass.</p> .cpp file add the following include;</p> <div class="doc_code"><pre> - #include ""llvm/CodeGen/RegAllocRegistry.h"" + #include "llvm/CodeGen/RegAllocRegistry.h" </pre></div> <p>Also in your register allocator .cpp file, define a creator function in the @@ -1522,8 +1522,8 @@ $ llc --help <p>And that's it. The user is now free to use <tt>-regalloc=myregalloc</tt> as an option. Registering instruction schedulers is similar except use the -<tt>RegisterRegAlloc</tt> class. Note that the -<tt>RegisterRegAlloc::FunctionPassCtor</tt> is significantly different from +<tt>RegisterScheduler</tt> class. Note that the +<tt>RegisterScheduler::FunctionPassCtor</tt> is significantly different from <tt>RegisterRegAlloc::FunctionPassCtor</tt>.</p> <p>To force the load/linking of your register allocator into the llc/lli tools, |