[llvm-commits] CVS: llvm/docs/ExtendingLLVM.html
Misha Brukman
brukman at cs.uiuc.edu
Wed Dec 1 12:59:05 PST 2004
Changes in directory llvm/docs:
ExtendingLLVM.html updated: 1.15 -> 1.16
---
Log message:
* Hyphenate ``constant-propagate''
* Add testing notes to the instruction section similar as for intrinsics
* Mention adding codegen support for new instructions
---
Diffs of the changes: (+13 -4)
Index: llvm/docs/ExtendingLLVM.html
diff -u llvm/docs/ExtendingLLVM.html:1.15 llvm/docs/ExtendingLLVM.html:1.16
--- llvm/docs/ExtendingLLVM.html:1.15 Tue Sep 28 11:58:12 2004
+++ llvm/docs/ExtendingLLVM.html Wed Dec 1 14:58:54 2004
@@ -100,12 +100,13 @@
not access memory or does not write to memory, add it to the relevant list
of functions.</li>
-<li><tt>llvm/lib/Transforms/Utils/Local.cpp</tt>: If it is possible to constant
- propagate your intrinsic, add support to it in the
+<li><tt>llvm/lib/Transforms/Utils/Local.cpp</tt>: If it is possible to
+ constant-propagate your intrinsic, add support to it in the
<tt>canConstantFoldCallTo</tt> and <tt>ConstantFoldCall</tt> functions.</li>
<li>Test your intrinsic</li>
-<li><tt>llvm/test/Regression/*</tt>: add your test cases to the test suite.</li>
+
+<li><tt>llvm/test/Regression/*</tt>: add your test cases to the test suite</li>
</ol>
<p>If this intrinsic requires code generator support (i.e., it cannot be
@@ -154,6 +155,14 @@
implement the class you defined in
<tt>llvm/include/llvm/Instructions.h</tt></li>
+<li>Test your instruction</li>
+
+<li><tt>llvm/lib/Target/*</tt>:
+ Add support for your instruction to code generators, or add a lowering
+ pass.</li>
+
+<li><tt>llvm/test/Regression/*</tt>: add your test cases to the test suite.</li>
+
</ol>
<p>Also, you need to implement (or modify) any analyses or passes that you want
@@ -277,7 +286,7 @@
<a href="http://misha.brukman.net">Misha Brukman</a><br>
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
<br>
- Last modified: $Date: 2004/09/28 16:58:12 $
+ Last modified: $Date: 2004/12/01 20:58:54 $
</address>
</body>
More information about the llvm-commits
mailing list