[llvm-commits] CVS: llvm/docs/ExtendingLLVM.html
Nate Begeman
natebegeman at mac.com
Fri Jan 13 17:27:22 PST 2006
Changes in directory llvm/docs:
ExtendingLLVM.html updated: 1.19 -> 1.20
---
Log message:
Fix the instructions for adding an intrinsic.
---
Diffs of the changes: (+8 -4)
ExtendingLLVM.html | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
Index: llvm/docs/ExtendingLLVM.html
diff -u llvm/docs/ExtendingLLVM.html:1.19 llvm/docs/ExtendingLLVM.html:1.20
--- llvm/docs/ExtendingLLVM.html:1.19 Sat Nov 12 20:09:55 2005
+++ llvm/docs/ExtendingLLVM.html Fri Jan 13 19:27:10 2006
@@ -97,9 +97,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
-fold your intrinsic, add support to it in the <tt>canConstantFoldCallTo</tt> and
-<tt>ConstantFoldCall</tt> functions.</li>
+<li><tt>llvm/lib/Analysis/ConstantFolding.cpp</tt>: If it is possible to
+ constant fold your intrinsic, add support to it in the
+ <tt>canConstantFoldCallTo</tt> and <tt>ConstantFoldCall</tt> functions.</li>
+
+<li><tt>llvm/lib/Transforms/Utils/Local.cpp</tt>: If your intrinsic has no side-
+ effects, add it to the list of intrinsics in the
+ <tt>isInstructionTriviallyDead</tt> function.</li>
<li>Test your intrinsic</li>
@@ -322,7 +326,7 @@
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
<br>
- Last modified: $Date: 2005/11/13 02:09:55 $
+ Last modified: $Date: 2006/01/14 01:27:10 $
</address>
</body>
More information about the llvm-commits
mailing list