aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-13 19:48:55 +0000
committerChris Lattner <sabre@nondot.org>2004-04-13 19:48:55 +0000
commitd828bc6b315442f09c828209c73a659a1b8ad326 (patch)
tree1150808ca13e86ffb920eb4e35c7e44c2e6ae9a4 /docs
parent58b7b08ad77efd3fee62d8bc559432cf840beac0 (diff)
downloadexternal_llvm-d828bc6b315442f09c828209c73a659a1b8ad326.zip
external_llvm-d828bc6b315442f09c828209c73a659a1b8ad326.tar.gz
external_llvm-d828bc6b315442f09c828209c73a659a1b8ad326.tar.bz2
Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ExtendingLLVM.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ExtendingLLVM.html b/docs/ExtendingLLVM.html
index cc872ab..c6f27f0 100644
--- a/docs/ExtendingLLVM.html
+++ b/docs/ExtendingLLVM.html
@@ -104,6 +104,10 @@ function and then be turned into an instruction if warranted.</p>
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
+ <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>
</ol>